mac80211: fix sparse warning caused by __ieee80211_channel_switch()
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 7 May 2014 17:05:12 +0000 (20:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 May 2014 10:00:12 +0000 (12:00 +0200)
commitf29f58a9e53252a50eaea0ece59f1af5fad56b5f
treec931471688832e143bb856fda1405e04697c2af0
parentc3d620362dfe9218c7637354c7bce344ea771a31
mac80211: fix sparse warning caused by __ieee80211_channel_switch()

Commit 59af6928 (mac80211: fix CSA tx queue stopping) introduced a
sparse warning:

net/mac80211/cfg.c:3274:5: warning: symbol '__ieee80211_channel_switch' was not declared. Should it be static?

Fix it by declaring the function static.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c