summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/usb.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-08 21:43:22 +0200
committerArnd Bergmann <arnd@arndb.de>2011-10-08 21:43:22 +0200
commit32d80f97fe4a86b7e9de5d13030432de115119b1 (patch)
tree54b95741024e8926348fa15d43579d49f4743553 /drivers/net/wireless/rtlwifi/usb.c
parent3a3ad60176fafb027bf2e4fe4793eab99ced5708 (diff)
parent100aafc992039794d0facb0e7bbd02f8a11fd1d6 (diff)
Merge branch 'imx/fixes' into next/fixes
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);