Changeset 2882


Ignore:
Timestamp:
2006-01-10T22:10:28+01:00 (12 years ago)
Author:
nbd
Message:

set rate in wificonf from wl0_rate (fixes #159)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/wificonf/wificonf.c

    r2658 r2882  
    367367                bcom_ioctl(skfd, ifname, WLC_SET_FRAG, &val, sizeof(val)); 
    368368        } 
     369        if ((val = atoi(nvram_safe_get(wl_var("rate")))) > 0) { 
     370                val *= 2; 
     371                bcom_ioctl(skfd, ifname, WLC_SET_RATE, &val, sizeof(val)); 
     372        } 
    369373        if (v = nvram_get(wl_var("dtim"))) { 
    370374                val = atoi(v); 
Note: See TracChangeset for help on using the changeset viewer.