Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] make ieee80211_get_hdr_info static
@ 2007-03-05 16:41 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-03-05 16:41 UTC (permalink / raw)
  To: linux-wireless; +Cc: John W. Linville

This patch makes the ieee80211_get_hdr_info function which is only used
in wpa.c static.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
 net/mac80211/wpa.c |    4 ++--
 net/mac80211/wpa.h |    3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

--- wireless-dev.orig/net/mac80211/wpa.c	2007-03-05 17:40:22.114711876 +0100
+++ wireless-dev/net/mac80211/wpa.c	2007-03-05 17:40:37.224711876 +0100
@@ -25,8 +25,8 @@
 #endif /* CONFIG_HOSTAPD_WPA_TESTING */
 
 
-int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
-			   u8 *qos_tid, u8 **data, size_t *data_len)
+static int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
+				  u8 *qos_tid, u8 **data, size_t *data_len)
 {
 	struct ieee80211_hdr *hdr;
 	size_t hdrlen;
--- wireless-dev.orig/net/mac80211/wpa.h	2007-03-05 17:40:16.354711876 +0100
+++ wireless-dev/net/mac80211/wpa.h	2007-03-05 17:40:19.394711876 +0100
@@ -28,7 +28,4 @@ ieee80211_tx_h_ccmp_encrypt(struct ieee8
 ieee80211_txrx_result
 ieee80211_rx_h_ccmp_decrypt(struct ieee80211_txrx_data *rx);
 
-int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
-			   u8 *qos_tid, u8 **data, size_t *data_len);
-
 #endif /* WPA_H */



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-06 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 16:41 [PATCH] make ieee80211_get_hdr_info static Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox