projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c07306
)
hostapd: fixup madwifi turbo modes (#7060)
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Apr 2010 15:16:33 +0000
(15:16 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Apr 2010 15:16:33 +0000
(15:16 +0000)
SVN-Revision: 20675
package/hostapd/files/hostapd.sh
patch
|
blob
|
history
diff --git
a/package/hostapd/files/hostapd.sh
b/package/hostapd/files/hostapd.sh
index 9ef8282bd34f0a38900b0d421452dd466e77431d..9dc18366d994c06cd0363607494b5f5678cccd64 100644
(file)
--- a/
package/hostapd/files/hostapd.sh
+++ b/
package/hostapd/files/hostapd.sh
@@
-134,7
+134,8
@@
hostapd_setup_vif() {
config_get channel "$device" channel
config_get hwmode "$device" hwmode
case "$hwmode" in
- *bg) hwmode=g;;
+ *bg|*gdt|*gst|*fh) hwmode=g;;
+ *adt|*ast) hwmode=a;;
esac
[ "$channel" = auto ] && channel=
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"