summaryrefslogtreecommitdiffstats
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-06-02 22:31:10 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 20:06:15 +0200
commit60fd2b67014440091770ac5738301c7fa4c4159c (patch)
tree5cbc58ee6993cb1153ada3db1aed40cb1c941fef /net/wireless/util.c
parentath: make regulatory parsing more verbose on debug (diff)
downloadlinux-60fd2b67014440091770ac5738301c7fa4c4159c.tar.xz
linux-60fd2b67014440091770ac5738301c7fa4c4159c.zip
cfg80211: make ieee80211_get_mesh_hdrlen() static
Fixes spares warning: net/wireless/util.c:261:5: warning: symbol 'ieee80211_get_mesh_hdrlen' was not declared. Should it be static? Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r--net/wireless/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index 5be9ed7ae1e9..25550692dda6 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -258,7 +258,7 @@ unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff *skb)
}
EXPORT_SYMBOL(ieee80211_get_hdrlen_from_skb);
-int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr)
+static int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr)
{
int ae = meshhdr->flags & MESH_FLAGS_AE;
/* 7.1.3.5a.2 */