aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-08-21 10:23:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-25 14:33:17 -0400
commitff67bb86d448c26cb9110e9681669dc4a8aa5e0a (patch)
treeb8fed75d276b69d3265713469aebcfb60b51400e /net/mac80211/tx.c
parent3a59babbee409fa5f1b2dd8a14c40803b5eb288b (diff)
mac80211: fix warning for un-used parameter
mesh_hdr only used when CONFIG_MAC80211_MESH is defined Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index d51ec74cfb62..a6ac9fd248f2 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1701,7 +1701,7 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
1701 u16 ethertype, hdrlen, meshhdrlen = 0; 1701 u16 ethertype, hdrlen, meshhdrlen = 0;
1702 __le16 fc; 1702 __le16 fc;
1703 struct ieee80211_hdr hdr; 1703 struct ieee80211_hdr hdr;
1704 struct ieee80211s_hdr mesh_hdr; 1704 struct ieee80211s_hdr mesh_hdr __maybe_unused;
1705 const u8 *encaps_data; 1705 const u8 *encaps_data;
1706 int encaps_len, skip_header_bytes; 1706 int encaps_len, skip_header_bytes;
1707 int nh_pos, h_pos; 1707 int nh_pos, h_pos;