summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-19 01:31:24 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:59:46 -0800
commit4e20cb293cc0b30f32a53011fd6b38493d9fdcaa (patch)
tree865ef4c4dcaf2fed96afe6d9b8a0ffedbb20feec /net/mac80211
parent678f5f7117d5780d3a51b201c9f44b7bf90f6a76 (diff)
downloadlinux-4e20cb293cc0b30f32a53011fd6b38493d9fdcaa.tar.bz2
mac80211: make ieee80211_rx_mgmt_action static
The function is only used locally. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/ieee80211_sta.c8
1 files changed, 4 insertions, 4 deletions
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;