diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 4eec87c3be2b..4331d675fcc6 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -4806,7 +4806,7 @@ static int airo_config_commit(struct net_device *dev, | |||
4806 | 4806 | ||
4807 | static inline int sniffing_mode(struct airo_info *ai) | 4807 | static inline int sniffing_mode(struct airo_info *ai) |
4808 | { | 4808 | { |
4809 | return le16_to_cpu(ai->config.rmode & RXMODE_MASK) >= | 4809 | return (le16_to_cpu(ai->config.rmode) & le16_to_cpu(RXMODE_MASK)) >= |
4810 | le16_to_cpu(RXMODE_RFMON); | 4810 | le16_to_cpu(RXMODE_RFMON); |
4811 | } | 4811 | } |
4812 | 4812 | ||