Commit 8149415e authored by John W. Linville's avatar John W. Linville
Browse files

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: default avatarJohn W. Linville <>
parent 07ae2dfc
......@@ -694,7 +694,7 @@ static u8 ath_rc_get_highest_rix(struct ath_softc *sc,
return rate;
/* This should not happen */
rate = ath_rc_priv->valid_rate_index[0];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment