|
@@ -223,7 +223,7 @@ struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
|
|
|
if (!txb)
|
|
if (!txb)
|
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
|
|
- memset(txb, sizeof(struct ieee80211_txb), 0);
|
|
|
|
|
|
|
+ memset(txb, 0, sizeof(struct ieee80211_txb));
|
|
|
txb->nr_frags = nr_frags;
|
|
txb->nr_frags = nr_frags;
|
|
|
txb->frag_size = txb_size;
|
|
txb->frag_size = txb_size;
|
|
|
|
|
|