diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-01-30 10:53:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-30 10:53:55 -0500 |
commit | 41b2d62702730b0c6bc5a40722e423bb0338311a (patch) | |
tree | b65bece8d2ae4f241ab8d332b51da8904145abf4 /drivers/net/wireless/ath | |
parent | ff7e9f99f7effb385a9be2f7198743c1ad2bb126 (diff) | |
download | op-kernel-dev-41b2d62702730b0c6bc5a40722e423bb0338311a.zip op-kernel-dev-41b2d62702730b0c6bc5a40722e423bb0338311a.tar.gz |
ath9k: use WARN_ON_ONCE in ath_rc_get_highest_rix
The device seems to survive the issue, so no need to flood the logs
about it...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index b3c3798..635b592 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c @@ -694,7 +694,7 @@ static u8 ath_rc_get_highest_rix(struct ath_softc *sc, return rate; /* This should not happen */ - WARN_ON(1); + WARN_ON_ONCE(1); rate = ath_rc_priv->valid_rate_index[0]; |