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)
commitdddd586bee9325e890a671f8e24ae39418338295
treee684dbb0879da72e6b9920a8308a631ce554724c
parent82a8e17d4a4faae2366aca61c617af87bcc822c1
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