Commit 38a65b4a authored by Javier Achirica's avatar Javier Achirica Committed by Jeff Garzik

[netdrvr airo] MIC support with newer firmware

parent cbeabc5c
...@@ -2389,7 +2389,7 @@ static u16 setup_card(struct airo_info *ai, u8 *mac) ...@@ -2389,7 +2389,7 @@ static u16 setup_card(struct airo_info *ai, u8 *mac)
ai->config.opmode = adhoc ? MODE_STA_IBSS : MODE_STA_ESS; ai->config.opmode = adhoc ? MODE_STA_IBSS : MODE_STA_ESS;
#ifdef MICSUPPORT #ifdef MICSUPPORT
if ((cap_rid.len==sizeof(cap_rid)) && (cap_rid.extSoftCap&1)) { if ((cap_rid.len>=sizeof(cap_rid)) && (cap_rid.extSoftCap&1)) {
ai->config.opmode |= MODE_MIC; ai->config.opmode |= MODE_MIC;
ai->flags |= FLAG_MIC_CAPABLE; ai->flags |= FLAG_MIC_CAPABLE;
micsetup(ai); micsetup(ai);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment