diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index dc1123aa8181..72eddd1b410b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -3567,8 +3567,9 @@ rate_lowest_index(struct ieee80211_supported_band *sband, | |||
3567 | return i; | 3567 | return i; |
3568 | 3568 | ||
3569 | /* warn when we cannot find a rate. */ | 3569 | /* warn when we cannot find a rate. */ |
3570 | WARN_ON(1); | 3570 | WARN_ON_ONCE(1); |
3571 | 3571 | ||
3572 | /* and return 0 (the lowest index) */ | ||
3572 | return 0; | 3573 | return 0; |
3573 | } | 3574 | } |
3574 | 3575 | ||