]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: align ieee80211_ibss_csa_beacon() with ieee80211_assign_beacon()
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 13 Dec 2013 19:13:51 +0000 (21:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 14:07:47 +0000 (15:07 +0100)
commit0d96a8c2ae424ab104a5cc805e05a3785fb1de1b
treee684dbb0879da72e6b9920a8308a631ce554724c
parent708ce7d02c5ed2856fc4efc02a51ba1d694a99ef
mac80211: align ieee80211_ibss_csa_beacon() with ieee80211_assign_beacon()

The return value of ieee80211_ibss_csa_beacon is not aligned with the
return value of ieee80211_assign_beacon().  For consistency and to be
able to use both functions with similar code, change
ieee80211_ibss_csa_beacon() not to send the bss changed notification
itself, but return what has changed so the caller can send the
notification instead.

Tested by: Simon Wunderlich <sw@simonwunderlich.de>
Acked by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c