summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/usb.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-09-27 15:47:33 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-27 15:47:33 -0400
commita8acfd82ebefbb32f12f413019e53f9e939cf44e (patch)
tree77ed527122c81600681eb86f2bfc9829b1af20d8 /drivers/net/wireless/rtlwifi/usb.c
parentd93dc5c4478c1fd5de85a3e8aece9aad7bbae044 (diff)
parentba54238552625aad2d75f455a4d3db18ea7dec68 (diff)
downloadlwn-a8acfd82ebefbb32f12f413019e53f9e939cf44e.tar.gz
lwn-a8acfd82ebefbb32f12f413019e53f9e939cf44e.zip
Merge branch 'master' of git://git.infradead.org/users/linville/wireless into for-davem
Diffstat (limited to 'drivers/net/wireless/rtlwifi/usb.c')
-rw-r--r--drivers/net/wireless/rtlwifi/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/usb.c b/drivers/net/wireless/rtlwifi/usb.c
index 8b1cef0ffde6..4bf3cf457ef0 100644
--- a/drivers/net/wireless/rtlwifi/usb.c
+++ b/drivers/net/wireless/rtlwifi/usb.c
@@ -863,6 +863,7 @@ static void _rtl_usb_tx_preprocess(struct ieee80211_hw *hw, struct sk_buff *skb,
u8 tid = 0;
u16 seq_number = 0;
+ memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc));
if (ieee80211_is_auth(fc)) {
RT_TRACE(rtlpriv, COMP_SEND, DBG_DMESG, ("MAC80211_LINKING\n"));
rtl_ips_nic_on(hw);