aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-04-11 19:52:15 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-05-15 23:21:19 -0400
commit0a989b24fd59e8867274246587b46f5595fa0baa (patch)
treea240d10b44bfe328afc86e914b469ce48e0d7d73 /net/ieee80211
parentb453872c35cfcbdbf5a794737817f7d4e7b1b579 (diff)
[PATCH] net/ieee80211/ieee80211_tx.c: swapped memset arguments
Fix swapped memset() arguments in net/ieee80211/ieee80211_tx.c found by Maciej Soltysiak. Patch by Jesper Juhl. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'net/ieee80211')
-rw-r--r--net/ieee80211/ieee80211_tx.c2
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