Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39068d1c authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

ath9k: remove spurious check for channel on keycache reset



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

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2f69ffac
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2496,9 +2496,6 @@ bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry)

	}

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

	return true;
}