Skip to content

Commit

Permalink
ath9k: remove spurious check for channel on keycache reset
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent 2f69ffa commit 39068d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2496,9 +2496,6 @@ bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry)

}

if (ah->curchan == NULL)
return true;

return true;
}

Expand Down

0 comments on commit 39068d1

Please sign in to comment.