mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 11:04:04 +02:00
20 lines
660 B
Diff
20 lines
660 B
Diff
|
--- a/net/mac80211/tx.c
|
||
|
+++ b/net/mac80211/tx.c
|
||
|
@@ -1748,7 +1748,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
|
||
|
{
|
||
|
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
|
||
|
struct ieee80211_local *local = sdata->local;
|
||
|
- struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
||
|
+ struct ieee80211_tx_info *info;
|
||
|
int ret = NETDEV_TX_BUSY, head_need;
|
||
|
u16 ethertype, hdrlen, meshhdrlen = 0;
|
||
|
__le16 fc;
|
||
|
@@ -2039,6 +2039,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
|
||
|
skb_set_network_header(skb, nh_pos);
|
||
|
skb_set_transport_header(skb, h_pos);
|
||
|
|
||
|
+ info = IEEE80211_SKB_CB(skb);
|
||
|
memset(info, 0, sizeof(*info));
|
||
|
|
||
|
dev->trans_start = jiffies;
|