* [-mm patch] net/ieee80211/ieee80211_tx.c: swapped memset arguments
@ 2005-04-09 18:03 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-04-09 18:03 UTC (permalink / raw)
To: Jeff Garzik, Andrew Morton
Cc: Jesper Juhl, Maciej Soltysiak, James P. Ketrenos, netdev,
David S. Miller, linux-kernel
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>
---
This patch was sent by Jesper Juhl on:
- 3 Apr 2005
--- linux-2.6.12-rc1-mm4-orig/net/ieee80211/ieee80211_tx.c 2005-03-31 21:20:08.000000000 +0200
+++ linux-2.6.12-rc1-mm4/net/ieee80211/ieee80211_tx.c 2005-04-03 00:34:22.000000000 +0200
@@ -223,7 +223,7 @@ struct ieee80211_txb *ieee80211_alloc_tx
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-09 18:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 18:03 [-mm patch] net/ieee80211/ieee80211_tx.c: swapped memset arguments Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).