Message ID | 1282340976-10665-1-git-send-email-wey-yi.w.guy@intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index bc4fefc..364d56a 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -1701,7 +1701,9 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, u16 ethertype, hdrlen, meshhdrlen = 0; __le16 fc; struct ieee80211_hdr hdr; +#ifdef CONFIG_MAC80211_MESH struct ieee80211s_hdr mesh_hdr; +#endif const u8 *encaps_data; int encaps_len, skip_header_bytes; int nh_pos, h_pos;