diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/airo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 9d3f3357b6e1..68c5e54230c1 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -3847,7 +3847,8 @@ static u16 setup_card(struct airo_info *ai, u8 *mac, int lock) | |||
3847 | ai->config.authType = AUTH_OPEN; | 3847 | ai->config.authType = AUTH_OPEN; |
3848 | ai->config.modulation = MOD_CCK; | 3848 | ai->config.modulation = MOD_CCK; |
3849 | 3849 | ||
3850 | if ((cap_rid.len>=sizeof(cap_rid)) && (cap_rid.extSoftCap&1) && | 3850 | if ((cap_rid.len>=sizeof(cap_rid)) && |
3851 | (cap_rid.extSoftCap & cpu_to_le16(1)) && | ||
3851 | (micsetup(ai) == SUCCESS)) { | 3852 | (micsetup(ai) == SUCCESS)) { |
3852 | ai->config.opmode |= MODE_MIC; | 3853 | ai->config.opmode |= MODE_MIC; |
3853 | set_bit(FLAG_MIC_CAPABLE, &ai->flags); | 3854 | set_bit(FLAG_MIC_CAPABLE, &ai->flags); |