diff options
| author | Javier Achirica <achirica@telefonica.net> | 2003-07-19 14:32:56 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2003-07-19 14:32:56 -0400 |
| commit | e36bb696f92f32d740bbbff3cb2c562c4249e129 (patch) | |
| tree | de243ca4c64b45ce139ec594fceb26703d178864 | |
| parent | 733a12b943bc311869f17356a11958819f15905c (diff) | |
[wireless airo] Don't call MIC functions if the card doesn't support them.
| -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 881610f500b6..a7b8ae8f9d22 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c @@ -1909,7 +1909,8 @@ static irqreturn_t airo_interrupt ( int irq, void* dev_id, struct pt_regs *regs) if ( status & 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 WIRELESS_EXT > 13 |
