mac80211: move clearing result into ieee80211_parse_ch_switch_ie()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 19 May 2017 11:22:38 +0000 (13:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 19 May 2017 11:25:57 +0000 (13:25 +0200)
commit61b81b4010496e8e989307cf7ee196f83dd09681
treefebb68ca088f3c6de18631a552bfd9eab6fefb9a
parent5d55371b2193774979b90a3d09e8a2e0572a8162
mac80211: move clearing result into ieee80211_parse_ch_switch_ie()

Clear the csa_ie in ieee80211_parse_ch_switch_ie() where the data
is filled in, rather than in each caller.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c
net/mac80211/mesh.c
net/mac80211/mlme.c
net/mac80211/spectmgmt.c