]> Pileus Git - ~andy/linux/blobdiff - include/net/mac80211.h
md/bitmap: It is OK to clear bits during recovery.
[~andy/linux] / include / net / mac80211.h
index dc1123aa8181d08a9b91bf2fe3281577088e56d1..72eddd1b410b9c8418216c17d74910585fdec975 100644 (file)
@@ -3567,8 +3567,9 @@ rate_lowest_index(struct ieee80211_supported_band *sband,
                        return i;
 
        /* warn when we cannot find a rate. */
-       WARN_ON(1);
+       WARN_ON_ONCE(1);
 
+       /* and return 0 (the lowest index) */
        return 0;
 }