diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-23 23:14:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-23 23:15:17 -0400 |
commit | f24001941c99776f41bd3f09c07d91205c2ad9d4 (patch) | |
tree | 0ab31480ccdf343b61db045e195d096068ef7c73 /net/wireless/util.c | |
parent | a108d5f35adc5c5d5cdc882dc0bb920565551bff (diff) | |
parent | 4d634ca35a8b38530b134ae92bc9e3cc9c23c030 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Fix merge between commit 3adadc08cc1e ("net ax25: Reorder ax25_exit to
remove races") and commit 0ca7a4c87d27 ("net ax25: Simplify and
cleanup the ax25 sysctl handling")
The former moved around the sysctl register/unregister calls, the
later simply removed them.
With help from Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
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; |