diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-04-11 16:52:15 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-15 23:21:19 -0400 |
commit | 0a989b24fd59e8867274246587b46f5595fa0baa (patch) | |
tree | a240d10b44bfe328afc86e914b469ce48e0d7d73 /net/ieee80211 | |
parent | b453872c35cfcbdbf5a794737817f7d4e7b1b579 (diff) | |
download | op-kernel-dev-0a989b24fd59e8867274246587b46f5595fa0baa.zip op-kernel-dev-0a989b24fd59e8867274246587b46f5595fa0baa.tar.gz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index d70e6b8..308fcd9 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, if (!txb) return NULL; - memset(txb, sizeof(struct ieee80211_txb), 0); + memset(txb, 0, sizeof(struct ieee80211_txb)); txb->nr_frags = nr_frags; txb->frag_size = txb_size; |