2009-01-10 09:47:07

by Jouni Malinen

[permalink] [raw]
Subject: [PATCH] mac80211: Mark ieee80211_process_sa_query_req() static

This function is only used within rx.c, so mark it static.

Signed-off-by: Jouni Malinen <[email protected]>


---
net/mac80211/rx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- wireless-testing.orig/net/mac80211/rx.c 2009-01-10 11:39:35.000000000 +0200
+++ wireless-testing/net/mac80211/rx.c 2009-01-10 11:40:08.000000000 +0200
@@ -1675,9 +1675,9 @@ ieee80211_rx_h_ctrl(struct ieee80211_rx_
return RX_CONTINUE;
}

-void ieee80211_process_sa_query_req(struct ieee80211_sub_if_data *sdata,
- struct ieee80211_mgmt *mgmt,
- size_t len)
+static void ieee80211_process_sa_query_req(struct ieee80211_sub_if_data *sdata,
+ struct ieee80211_mgmt *mgmt,
+ size_t len)
{
struct ieee80211_local *local = sdata->local;
struct sk_buff *skb;

--
Jouni Malinen PGP id EFC895FA