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 <[EMAIL PROTECTED]>



--- /home/eric/broadcom.sh      2008-06-29 15:57:38.000000000 -0400
+++ trunk/package/broadcom-wl/files/lib/wifi/broadcom.sh        2008-06-29 
16:03:03.000000000 -0400
@@ -221,9 +221,9 @@
        wlc stdin <<EOF
 $ifdown
 
+apsta $apsta
 ap $ap
 mssid $mssid
-apsta $apsta
 infra $infra
 ${wet:+wet 1}
 802.11d 0
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to