projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07ae2df
)
ath9k: use WARN_ON_ONCE in ath_rc_get_highest_rix
author
John W. Linville
<
[email protected]
>
Mon, 30 Jan 2012 15:55:13 +0000
(10:55 -0500)
committer
John W. Linville
<
[email protected]
>
Fri, 3 Feb 2012 19:17:12 +0000
(14:17 -0500)
The device seems to survive the issue, so no need to flood the logs
about it...
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/rc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/rc.c
b/drivers/net/wireless/ath/ath9k/rc.c
index b3c3798fe5130eaf4e4ea7e528a3e8c646f8711b..635b592ad96181478af45cb2697ea05dbd823077 100644
(file)
--- 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];