Commit e36bb696 authored by Javier Achirica's avatar Javier Achirica Committed by Jeff Garzik

[wireless airo] Don't call MIC functions if the card doesn't support them.

parent 733a12b9
...@@ -1909,7 +1909,8 @@ static irqreturn_t airo_interrupt ( int irq, void* dev_id, struct pt_regs *regs) ...@@ -1909,7 +1909,8 @@ static irqreturn_t airo_interrupt ( int irq, void* dev_id, struct pt_regs *regs)
if ( status & EV_MIC ) { if ( status & EV_MIC ) {
OUT4500( apriv, EVACK, EV_MIC ); OUT4500( apriv, EVACK, EV_MIC );
airo_read_mic( apriv ); if (apriv->flags & FLAG_MIC_CAPABLE)
airo_read_mic( apriv );
} }
if ( status & EV_LINK ) { if ( status & EV_LINK ) {
#if WIRELESS_EXT > 13 #if WIRELESS_EXT > 13
......
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