diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c index 657504c3c79d..3e5194fb0b0f 100644 --- a/drivers/net/wireless/mwifiex/main.c +++ b/drivers/net/wireless/mwifiex/main.c | |||
@@ -644,6 +644,7 @@ mwifiex_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
644 | } | 644 | } |
645 | 645 | ||
646 | tx_info = MWIFIEX_SKB_TXCB(skb); | 646 | tx_info = MWIFIEX_SKB_TXCB(skb); |
647 | memset(tx_info, 0, sizeof(*tx_info)); | ||
647 | tx_info->bss_num = priv->bss_num; | 648 | tx_info->bss_num = priv->bss_num; |
648 | tx_info->bss_type = priv->bss_type; | 649 | tx_info->bss_type = priv->bss_type; |
649 | tx_info->pkt_len = skb->len; | 650 | tx_info->pkt_len = skb->len; |