tree a240d10b44bfe328afc86e914b469ce48e0d7d73
parent b453872c35cfcbdbf5a794737817f7d4e7b1b579
author Adrian Bunk <[EMAIL PROTECTED]> Tue, 12 Apr 2005 06:52:15 -0700
committer Jeff Garzik <[EMAIL PROTECTED]> Mon, 16 May 2005 07:21:19 -0400

[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 <[EMAIL PROTECTED]>
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>

 net/ieee80211/ieee80211_tx.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c
--- a/net/ieee80211/ieee80211_tx.c
+++ b/net/ieee80211/ieee80211_tx.c
@@ -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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to