]> git.baikalelectronics.ru Git - kernel.git/commit
softmac: fix wext MLME request reason code endianness
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 25 Oct 2007 20:16:23 +0000 (22:16 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Nov 2007 05:58:41 +0000 (21:58 -0800)
commite9c09c7ecced8e569e4db584255f5c52bdfcf45e
tree6c808532ace86c7cb62491f15df48f4b7068959a
parent9869839a258e940770930a4ecd45c744cbb37ebd
softmac: fix wext MLME request reason code endianness

The MLME request reason code is host-endian and our passing
it to the low level functions is host-endian as well since
they do the swapping. I noticed that the reason code 768 was
sent (0x300) rather than 3 when wpa_supplicant terminates.
This removes the superfluous cpu_to_le16() call.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/softmac/ieee80211softmac_wx.c