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
cfg80211: fix interface combinations check.
[pandora-kernel.git]
/
net
/
wireless
/
util.c
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index
4dde429
..
8bf8902
100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-996,7
+996,7
@@
int cfg80211_can_change_interface(struct cfg80211_registered_device *rdev,
if (rdev->wiphy.software_iftypes & BIT(iftype))
continue;
for (j = 0; j < c->n_limits; j++) {
- if (!(limits[j].types &
iftype
))
+ if (!(limits[j].types &
BIT(iftype)
))
continue;
if (limits[j].max < num[iftype])
goto cont;