From: Johannes Berg Date: Thu, 25 Oct 2007 20:16:23 +0000 (+0200) Subject: softmac: fix wext MLME request reason code endianness X-Git-Tag: v2.6.24-rc3~155^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94e10bfb8a7372df3ef2759c9ec2a37de2f24aca;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed