diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_main.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c index b5213f61fb0b..756ab56c1f40 100644 --- a/drivers/net/wireless/hostap/hostap_main.c +++ b/drivers/net/wireless/hostap/hostap_main.c | |||
@@ -594,7 +594,8 @@ void hostap_dump_tx_header(const char *name, const struct hfa384x_tx_frame *tx) | |||
594 | } | 594 | } |
595 | 595 | ||
596 | 596 | ||
597 | int hostap_80211_header_parse(const struct sk_buff *skb, unsigned char *haddr) | 597 | static int hostap_80211_header_parse(const struct sk_buff *skb, |
598 | unsigned char *haddr) | ||
598 | { | 599 | { |
599 | memcpy(haddr, skb_mac_header(skb) + 10, ETH_ALEN); /* addr2 */ | 600 | memcpy(haddr, skb_mac_header(skb) + 10, ETH_ALEN); /* addr2 */ |
600 | return ETH_ALEN; | 601 | return ETH_ALEN; |
@@ -839,7 +840,6 @@ const struct header_ops hostap_80211_ops = { | |||
839 | .rebuild = eth_rebuild_header, | 840 | .rebuild = eth_rebuild_header, |
840 | .cache = eth_header_cache, | 841 | .cache = eth_header_cache, |
841 | .cache_update = eth_header_cache_update, | 842 | .cache_update = eth_header_cache_update, |
842 | |||
843 | .parse = hostap_80211_header_parse, | 843 | .parse = hostap_80211_header_parse, |
844 | }; | 844 | }; |
845 | EXPORT_SYMBOL(hostap_80211_ops); | 845 | EXPORT_SYMBOL(hostap_80211_ops); |
@@ -1132,7 +1132,6 @@ EXPORT_SYMBOL(hostap_set_roaming); | |||
1132 | EXPORT_SYMBOL(hostap_set_auth_algs); | 1132 | EXPORT_SYMBOL(hostap_set_auth_algs); |
1133 | EXPORT_SYMBOL(hostap_dump_rx_header); | 1133 | EXPORT_SYMBOL(hostap_dump_rx_header); |
1134 | EXPORT_SYMBOL(hostap_dump_tx_header); | 1134 | EXPORT_SYMBOL(hostap_dump_tx_header); |
1135 | EXPORT_SYMBOL(hostap_80211_header_parse); | ||
1136 | EXPORT_SYMBOL(hostap_80211_get_hdrlen); | 1135 | EXPORT_SYMBOL(hostap_80211_get_hdrlen); |
1137 | EXPORT_SYMBOL(hostap_get_stats); | 1136 | EXPORT_SYMBOL(hostap_get_stats); |
1138 | EXPORT_SYMBOL(hostap_setup_dev); | 1137 | EXPORT_SYMBOL(hostap_setup_dev); |