mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 22:38:04 +00:00
2177f80076
Duplicate patches between PSP and 3.2.17 have been dropped from the 3.2.17 series Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From 9080bb10c5fa9dc3a8c358eec3bffc5e0dd29ea8 Mon Sep 17 00:00:00 2001
|
|
From: Lukasz Kucharczyk <lukasz.kucharczyk@tieto.com>
|
|
Date: Wed, 11 Apr 2012 14:55:10 +0200
|
|
Subject: [PATCH 020/165] cfg80211: fix interface combinations check.
|
|
|
|
commit e55a4046dab28c440c96890bdddcf02dc8981f2d upstream.
|
|
|
|
Signed-off-by: Lukasz Kucharczyk <lukasz.kucharczyk@tieto.com>
|
|
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
|
---
|
|
net/wireless/util.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/net/wireless/util.c b/net/wireless/util.c
|
|
index 4dde429..8bf8902 100644
|
|
--- 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;
|
|
--
|
|
1.7.7.6
|
|
|