Changeset 2883


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

set rate in wificonf from wl0_rate (fixes #159)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/wificonf/wificonf.c

    r2698 r2883  
    623623        bcom_ioctl(skfd, ifname, WLC_SET_LAZYWDS, &val, sizeof(val)); 
    624624 
     625        if ((val = atoi(nvram_safe_get(wl_var("rate")))) > 0) { 
     626                val *= 2; 
     627                bcom_ioctl(skfd, ifname, WLC_SET_RATE, &val, sizeof(val)); 
     628        } 
    625629        if (v = nvram_get(wl_var("dtim"))) { 
    626630                val = atoi(v); 
Note: See TracChangeset for help on using the changeset viewer.