OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
badc4f0
)
cfg80211: fix interface combinations check.
author
Lukasz Kucharczyk
<lukasz.kucharczyk@tieto.com>
Wed, 11 Apr 2012 12:55:10 +0000
(14:55 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 13 Apr 2012 18:05:35 +0000
(14:05 -0400)
Signed-off-by: Lukasz Kucharczyk <lukasz.kucharczyk@tieto.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/util.c
patch
|
blob
|
history
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index
1b7a08d
..
957f256
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;