diff options
-rw-r--r-- | net/ieee80211/ieee80211_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index d70e6b82715e..308fcd9ab1e3 100644 --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c | |||
@@ -223,7 +223,7 @@ struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size, | |||
223 | if (!txb) | 223 | if (!txb) |
224 | return NULL; | 224 | return NULL; |
225 | 225 | ||
226 | memset(txb, sizeof(struct ieee80211_txb), 0); | 226 | memset(txb, 0, sizeof(struct ieee80211_txb)); |
227 | txb->nr_frags = nr_frags; | 227 | txb->nr_frags = nr_frags; |
228 | txb->frag_size = txb_size; | 228 | txb->frag_size = txb_size; |
229 | 229 | ||