]> err.no Git - linux-2.6/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)
commit94e10bfb8a7372df3ef2759c9ec2a37de2f24aca
tree6c808532ace86c7cb62491f15df48f4b7068959a
parentb226801676d9533d09da511eb379fe970fa1a770
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