Skip to content
Snippets Groups Projects
Commit 1f351e38 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville
Browse files

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: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a5186e99
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment