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)
commit0eabccd940f0f25da0ae29e555fddb8fb84d8e27
tree53e8515a857b1f3f4c7bd1829e058033b787f682
parente47468518b9dc42db459e7240909946316d9c6c9
mac80211: clear SSID when stopping AP

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