diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-18 12:59:44 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-18 12:59:44 +0000 |
commit | 564fe43819eff484564967dc055ed54fbe7002ed (patch) | |
tree | a2d617ff7d309a3d8019284099d1b2819ce37a3f /package/madwifi/files/lib | |
parent | 8c72b797b421258e17ad6f7afcbc2ab9105e8dc8 (diff) |
Add bssid fix from #1281
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6601 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 1af4ce3bf5..2fd839a283 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -140,6 +140,12 @@ enable_atheros() { *) config_get ssid "$vif" ssid ;; + adhoc) + config_get addr "$vif" bssid + [ -z "$addr" ] || { + iwconfig "$ifname" ap "$addr" + } + ;; esac [ "$mode" = "sta" ] && { |