projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df0d3b
)
cfg80211: fix interface combinations check.
author
Lukasz Kucharczyk
<lukasz.kucharczyk@tieto.com>
Wed, 11 Apr 2012 12:55:10 +0000
(14:55 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 16:51:07 +0000
(09:51 -0700)
commit
e55a4046dab28c440c96890bdddcf02dc8981f2d
upstream.
Signed-off-by: Lukasz Kucharczyk <lukasz.kucharczyk@tieto.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/util.c
patch
|
blob
|
history
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index 4d7b83fbc32f0eb042e3a70e23d01d626a5add04..9c22330a129dfdcc38e6acdd7259e81712d48294 100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-990,7
+990,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;