aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/files/lib/wifi
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-06-01 14:37:11 +0000
committerNicolas Thill <nico@openwrt.org>2009-06-01 14:37:11 +0000
commita42072ddf48fbca02b16433c6cf6d841b432198a (patch)
tree3346ac1522dd65adda31a35d9309b3865d586602 /package/broadcom-wl/files/lib/wifi
parentca96019f8eba8c58773feac8b037c6f887a1977f (diff)
downloadupstream-a42072ddf48fbca02b16433c6cf6d841b432198a.tar.gz
upstream-a42072ddf48fbca02b16433c6cf6d841b432198a.tar.bz2
upstream-a42072ddf48fbca02b16433c6cf6d841b432198a.zip
broadcom-wl: fix broadcom (2.4) wireless sta (only) mode, adjust release number
This patch fixes an issue with the broadcom.sh configuration script when enabling sta mode. Currently sta mode works provided that you have an AP enabled as well but it doesn't work if you have a sta interface but not an AP. I found that merely reversing the order of the ap and apsta variables in the broadcom.sh script corrects this problem, and the attached patch does exactly that. Signed-off-by: Eric Bishop <ebishop@bu.edu> SVN-Revision: 16256
Diffstat (limited to 'package/broadcom-wl/files/lib/wifi')
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index 9ce49ab6fb..7d56c10e00 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -276,9 +276,9 @@ enable_broadcom() {
wlc stdin <<EOF
$ifdown
+apsta $apsta
ap $ap
${mssid:+mssid $mssid}
-apsta $apsta
infra $infra
${wet:+wet 1}
802.11d 0