git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-usb-linus' of git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci...
[pandora-kernel.git]
/
include
/
net
/
mac80211.h
diff --git
a/include/net/mac80211.h
b/include/net/mac80211.h
index
dc1123a
..
72eddd1
100644
(file)
--- a/
include/net/mac80211.h
+++ b/
include/net/mac80211.h
@@
-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;
}