diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-18 12:59:44 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-18 12:59:44 +0000 |
commit | 677b02a25042312cc9d67524ebe9cac95f9cd7ee (patch) | |
tree | bc32620867c7e16740b2bea8a1bb5a233f8e9f6b /package/madwifi/files | |
parent | 6eb218b9c979ddb0f078c733bffacd92e1da8c01 (diff) | |
download | mtk-20170518-677b02a25042312cc9d67524ebe9cac95f9cd7ee.zip mtk-20170518-677b02a25042312cc9d67524ebe9cac95f9cd7ee.tar.gz mtk-20170518-677b02a25042312cc9d67524ebe9cac95f9cd7ee.tar.bz2 |
Add bssid fix from #1281
SVN-Revision: 6601
Diffstat (limited to 'package/madwifi/files')
-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 1af4ce3..2fd839a 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" ] && { |