diff options
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r-- | 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 ffced852284d..6cba00173a2f 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c | |||
@@ -985,7 +985,7 @@ int cfg80211_can_change_interface(struct cfg80211_registered_device *rdev, | |||
985 | if (rdev->wiphy.software_iftypes & BIT(iftype)) | 985 | if (rdev->wiphy.software_iftypes & BIT(iftype)) |
986 | continue; | 986 | continue; |
987 | for (j = 0; j < c->n_limits; j++) { | 987 | for (j = 0; j < c->n_limits; j++) { |
988 | if (!(limits[j].types & iftype)) | 988 | if (!(limits[j].types & BIT(iftype))) |
989 | continue; | 989 | continue; |
990 | if (limits[j].max < num[iftype]) | 990 | if (limits[j].max < num[iftype]) |
991 | goto cont; | 991 | goto cont; |