projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9507f89
)
madwifi: fix static bssid setting for ad-hoc mode
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 29 Apr 2007 20:50:42 +0000
(20:50 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 29 Apr 2007 20:50:42 +0000
(20:50 +0000)
SVN-Revision: 7067
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 69874b5c1873a70c2851c6a321d5aa9b7276feb3..69230a71f1d10cef8a748350be17cc692decf58c 100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-142,15
+142,15
@@
enable_atheros() {
config_get addr "$vif" bssid
iwpriv "$ifname" wds_add "$addr"
;;
- *)
- config_get ssid "$vif" ssid
- ;;
adhoc)
config_get addr "$vif" bssid
[ -z "$addr" ] || {
iwconfig "$ifname" ap "$addr"
}
;;
+ *)
+ config_get ssid "$vif" ssid
+ ;;
esac
[ "$mode" = "sta" ] && {