[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-stable-commits
Subject:    patch libertas-fix-endianness-breakage.patch queued to -stable tree
From:       <gregkh () suse ! de>
Date:       2007-10-31 15:04:57
Message-ID: 20071031150523.1D53B14540D4 () imap ! suse ! de
[Download RAW message or body]


This is a note to let you know that we have just queued up the patch titled

     Subject: libertas: fix endianness breakage

to the 2.6.22-stable tree.  Its filename is

     libertas-fix-endianness-breakage.patch

A git repo of this tree can be found at 
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary


From linville@tuxdriver.com  Wed Oct 31 07:43:56 2007
From: "John W. Linville" <linville@tuxdriver.com>
Date: Tue,  9 Oct 2007 22:46:36 -0400
Subject: libertas: fix endianness breakage
To: stable@kernel.org
Cc: Al Viro <viro@zeniv.linux.org.uk>, "John W. Linville" <linville@tuxdriver.com>, \
                Al Viro <viro@ftp.linux.org.uk>
Message-ID: <11919843971952-git-send-email-linville@tuxdriver.com>


From: Al Viro <viro@ftp.linux.org.uk>

patch 5707708111ca6c4e9a1160acffdc98a98d95e462 in mainline.

	wep->keytype[] is u8

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -185,14 +185,12 @@ static int wlan_cmd_802_11_set_wep(wlan_private * priv,
 
 			switch (pkey->len) {
 			case KEY_LEN_WEP_40:
-				wep->keytype[i] =
-					cpu_to_le16(cmd_type_wep_40_bit);
+				wep->keytype[i] = cmd_type_wep_40_bit;
 				memmove(&wep->keymaterial[i], pkey->key,
 				        pkey->len);
 				break;
 			case KEY_LEN_WEP_104:
-				wep->keytype[i] =
-					cpu_to_le16(cmd_type_wep_104_bit);
+				wep->keytype[i] = cmd_type_wep_104_bit;
 				memmove(&wep->keymaterial[i], pkey->key,
 				        pkey->len);
 				break;
-- 
1.5.2.4

_______________________________________________
stable mailing list
stable@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable



Patches currently in stable-queue which might be from linville@tuxdriver.com are

queue-2.6.22/fix-ieee80211-handling-of-bogus-hdrlength-field.patch
queue-2.6.22/add-get_unaligned-to-ieee80211_get_radiotap_len.patch
queue-2.6.22/mac80211-filter-locally-originated-multicast-frames.patch
queue-2.6.22/libertas-fix-endianness-breakage.patch
queue-2.6.22/libertas-more-endianness-breakage.patch
-
To unsubscribe from this list: send the line "unsubscribe stable-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic