hostapd: fix AP mode initialization for nl80211
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Nov 2009 14:47:01 +0000 (16:47 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 11 Nov 2009 14:47:01 +0000 (16:47 +0200)
commit6980c1912782a7eb85e2758a16d235b522ef4428
tree7718973606077a72b3047f80c49fdbd53e2d7a04
parentdc6d9ac250f793a62b21ca828445967fb484305f
hostapd: fix AP mode initialization for nl80211

Always bring down the wlan interface, even when not changing the
BSSID, the interface also needs to be down for changing its type
from managed to AP mode.
src/drivers/driver_nl80211.c