airo: Fix integer overflow warning
authorMichael Buesch <mb@bu3sch.de>
Wed, 25 Nov 2009 21:55:11 +0000 (22:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Dec 2009 18:30:40 +0000 (13:30 -0500)
commit1f351e3840dcf25aaddec2d908c3ab06ae105ee6
treef641c01e8f141d974b9f474bb386c5b664b55188
parenta5186e997524578b4ba91390ad947c767450dac8
airo: Fix integer overflow warning

On BigEndian gcc complains:

drivers/net/wireless/airo.c: In function ‘sniffing_mode’:
drivers/net/wireless/airo.c:4809: warning: integer overflow in expression

Fix this by doing the bitwise AND on the host-endian value.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c