projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFS: Fix SECINFO_NO_NAME
[firefly-linux-kernel-4.4.55.git]
/
net
/
wireless
/
util.c
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index 1b7a08df933c79bf4ffe62455747464468c84bdb..957f2562161753fcec3b8789734bc0a36afebb84 100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-989,7
+989,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;