Search Linux Wireless

[PATCH] make ieee80211_get_hdr_info static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

---
 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 */


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux