From: Johannes Berg Date: Wed, 19 Dec 2007 00:31:24 +0000 (+0100) Subject: mac80211: make ieee80211_rx_mgmt_action static X-Git-Tag: MMI-PSA29.97-13-9~37648^2~944 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e20cb293cc0b30f32a53011fd6b38493d9fdcaa;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mac80211: make ieee80211_rx_mgmt_action static The function is only used locally. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c index 3978ad606b5c..2e225aecb873 100644 --- a/net/mac80211/ieee80211_sta.c +++ b/net/mac80211/ieee80211_sta.c @@ -1994,10 +1994,10 @@ static void ieee80211_rx_mgmt_probe_req(struct net_device *dev, ieee80211_sta_tx(dev, skb, 0); } -void ieee80211_rx_mgmt_action(struct net_device *dev, - struct ieee80211_if_sta *ifsta, - struct ieee80211_mgmt *mgmt, - size_t len) +static void ieee80211_rx_mgmt_action(struct net_device *dev, + struct ieee80211_if_sta *ifsta, + struct ieee80211_mgmt *mgmt, + size_t len) { if (len < IEEE80211_MIN_ACTION_SIZE) return;