Sfoglia il codice sorgente

ath9k: remove spurious check for channel on keycache reset

ath9k_hw_keyreset() has a spurious check for ah->curchan..
remove it.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Luis R. Rodriguez 16 anni fa
parent
commit
39068d1c28
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      drivers/net/wireless/ath/ath9k/hw.c

+ 0 - 3
drivers/net/wireless/ath/ath9k/hw.c

@@ -2496,9 +2496,6 @@ bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry)
 
 	}
 
-	if (ah->curchan == NULL)
-		return true;
-
 	return true;
 }