提交 8149415e 编写于 作者: J John W. Linville

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: NJohn W. Linville <linville@tuxdriver.com>
上级 07ae2dfc
...@@ -694,7 +694,7 @@ static u8 ath_rc_get_highest_rix(struct ath_softc *sc, ...@@ -694,7 +694,7 @@ static u8 ath_rc_get_highest_rix(struct ath_softc *sc,
return rate; return rate;
/* This should not happen */ /* This should not happen */
WARN_ON(1); WARN_ON_ONCE(1);
rate = ath_rc_priv->valid_rate_index[0]; rate = ath_rc_priv->valid_rate_index[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册