Add bssid fix from #1281
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 1af4ce3..2fd839a 100755 (executable)
@@ -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" ] && {
This page took 0.026172 seconds and 4 git commands to generate.