mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
madwifi: allow disabling of hardware ibss merges by setting the wifi-iface option sw_merge, which does the tsf sync in software instead. used to work around hardware issues with hw merges (ATIM window gets screwed up)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12993 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
408a8518ac
commit
836ae80bb1
@ -85,7 +85,10 @@ enable_atheros() {
|
||||
config_get eap_type "$vif" eap_type
|
||||
config_get mode "$vif" mode
|
||||
|
||||
[ "$mode" = sta ] && config_get nosbeacon "$device" nosbeacon
|
||||
case "$mode" in
|
||||
sta) config_get nosbeacon "$device" nosbeacon;;
|
||||
adhoc) config_get nosbeacon "$vif" sw_merge;;
|
||||
esac
|
||||
|
||||
config_get ifname "$vif" ifname
|
||||
ifname=$(wlanconfig "$ifname" create wlandev "$device" wlanmode "$mode" ${nosbeacon:+nosbeacon})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user