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)
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>

No differences found