mac80211: clear SSID when stopping AP
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Wed, 10 Apr 2013 11:47:45 +0000 (13:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 10 Apr 2013 18:24:16 +0000 (20:24 +0200)
When AP interface is stopped ssid_len in the BSS configuration
isn't cleared which can confuse drivers when switching modes.
Set the length to zero when stopping the AP interface.

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c

Simple merge