mac80211: batch CSA bss info notification
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 29 Jan 2014 06:56:17 +0000 (07:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:58:09 +0000 (21:58 +0100)
commitfaf046e7231bf008715bbffe5cca2ed3aa31be1b
treed48e8c2c753cef78202dd41656fbc1e7b679d2da
parent348baf0eac3391c62d441ec29b4c5da62ed91e74
mac80211: batch CSA bss info notification

Instead of having
ieee80211_bss_info_change_notify() scattered all
over the place just call it once when finalizing
CSA.

As a side effect this patch adds missing error
checking for IBSS CSA beacon update.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
[fix err vs. changed variable usage in ieee80211_csa_finalize()]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/mesh.c