projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e49486
)
hostapd only supports either b or g as hwmode configuration variable. If bg is set...
author
Hauke Mehrtens
<hauke@hauke-m.de>
Thu, 9 Apr 2009 21:44:30 +0000
(21:44 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Thu, 9 Apr 2009 21:44:30 +0000
(21:44 +0000)
SVN-Revision: 15182
package/hostapd/files/hostapd.sh
patch
|
blob
|
history
diff --git
a/package/hostapd/files/hostapd.sh
b/package/hostapd/files/hostapd.sh
index 0008a22fb34de1c2bbb50634cf7cea103898fe35..a07883831e8b23167a6149dacc8b206613698e4e 100644
(file)
--- a/
package/hostapd/files/hostapd.sh
+++ b/
package/hostapd/files/hostapd.sh
@@
-76,6
+76,9
@@
hostapd_setup_vif() {
config_get device "$vif" device
config_get channel "$device" channel
config_get hwmode "$device" hwmode
+ case "$hwmode" in
+ bg) hwmode=g;;
+ esac
config_get country "$device" country
[ "$channel" = auto ] && channel=
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"