aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-07 21:12:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-07 21:12:46 +0000
commit9735a162dcb601a9ceb617dc5877acf5326db289 (patch)
tree9920f0ff50831fc0e31d927c211fc9c44e2a26e4
parent09bffddd5e8dc4e281ad6a16e2eda6ed24aa1e58 (diff)
downloadupstream-9735a162dcb601a9ceb617dc5877acf5326db289.tar.gz
upstream-9735a162dcb601a9ceb617dc5877acf5326db289.tar.bz2
upstream-9735a162dcb601a9ceb617dc5877acf5326db289.zip
mac80211: apply network interface configuration for adhoc + wpa2
Backport of r35049 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35050 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 1b0bea70ed..db132af735 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -462,7 +462,7 @@ enable_mac80211() {
# make sure this wifi interface won't accidentally stay open without encryption
ifconfig "$ifname" down
}
- # wpa_supplicant will bring the iface up
+ mac80211_start_vif "$vif" "$ifname"
continue
fi
}