diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-12-19 22:38:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:08:50 -0800 |
commit | 0300b3321d9ed73a0c3f575f2df250c577852356 (patch) | |
tree | f08a833e60d4276fabbd79a20361acec740fa725 /include/acpi | |
parent | 851b3e5e3de0feea7bfee634f99a940648de58c8 (diff) |
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 <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions