mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-30 00:01:06 +02:00
add plcphdr setting to wificonf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1374 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9bef64b9ab
commit
cdfd5dc4e9
@ -290,7 +290,17 @@ void setup_bcom(int skfd, char *ifname)
|
|||||||
}
|
}
|
||||||
bcom_ioctl(skfd, ifname, WLC_SET_GMODE_PROTECTION_CONTROL, &override, sizeof(control));
|
bcom_ioctl(skfd, ifname, WLC_SET_GMODE_PROTECTION_CONTROL, &override, sizeof(control));
|
||||||
bcom_ioctl(skfd, ifname, WLC_SET_GMODE_PROTECTION_OVERRIDE, &override, sizeof(override));
|
bcom_ioctl(skfd, ifname, WLC_SET_GMODE_PROTECTION_OVERRIDE, &override, sizeof(override));
|
||||||
|
|
||||||
|
if (val = 0) {
|
||||||
|
if (nvram_match(wl_var("plcphdr"), "long"))
|
||||||
|
val = WLC_PLCP_AUTO;
|
||||||
|
else
|
||||||
|
val = WLC_PLCP_SHORT;
|
||||||
|
|
||||||
|
bcom_ioctl(skfd, ifname, WLC_SET_PLCPHDR, &val, sizeof(val));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_wext_ssid(int skfd, char *ifname)
|
void set_wext_ssid(int skfd, char *ifname)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user