Messages in this thread Patch in this message | | | Date | Tue, 24 Apr 2012 15:33:09 -0700 | From | Greg KH <> | Subject | [ 28/62] cfg80211: fix interface combinations check. |
| |
3.3-stable review patch. If anyone has any objections, please let me know.
------------------
From: Lukasz Kucharczyk <lukasz.kucharczyk@tieto.com>
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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -988,7 +988,7 @@ int cfg80211_can_change_interface(struct 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;
| |