Changeset 12474


Ignore:
Timestamp:
07/10/09 09:59:48 (4 years ago)
Author:
eko
Message:

dual radio wiviz fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/wiviz2/channelhopper.c

    r10808 r12474  
    142142    sysprintf("iwpriv ra0 set Channel=%d",nc); 
    143143#else 
    144     if (wl_ioctl(get_wdev(), WLC_SET_CHANNEL, &nc, 4)<0) 
     144    char tmp[32]; 
     145    sprintf( tmp, "%s_ifname", nvram_safe_get( "wifi_display" ) ); 
     146    wl_dev = nvram_safe_get( tmp ); 
     147    if (wl_ioctl(wl_dev, WLC_SET_CHANNEL, &nc, 4)<0) 
    145148        continue; 
    146149#endif 
Note: See TracChangeset for help on using the changeset viewer.