From: Al Viro Date: Thu, 20 Dec 2007 03:38:33 +0000 (-0500) Subject: airo: bug in airo_interrupt() handling on incoming 802.11 X-Git-Tag: v2.6.25-rc1~1162^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0300b3321d9ed73a0c3f575f2df250c577852356;p=pandora-kernel.git airo: bug in airo_interrupt() handling on incoming 802.11 On big-endian we end up with swapped first two bytes in packet, due to earlier conversion to host-endian and forgotten conversion back. The code we calculated that host-endian for had been duplicated several time - it finds the 802.11 MAC header length by the first two bytes of packet; taken into a new helper (header_len(__le16 ctl)). Signed-off-by: Al Viro Signed-off-by: John W. Linville --- Reading git-diff-tree failed