diff options
author | David Kilroy <kilroyd@googlemail.com> | 2009-06-18 23:21:15 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:42 -0400 |
commit | 51cd4aabd082144881644c308647ca501690b68c (patch) | |
tree | b9db3a760de882bacf46001fe19eeba2c098403c /net/wireless/core.c | |
parent | 3daf097594d398b2ddd2dca6caeaa92cb9148e23 (diff) | |
download | kernel_goldelico_gta04-51cd4aabd082144881644c308647ca501690b68c.zip kernel_goldelico_gta04-51cd4aabd082144881644c308647ca501690b68c.tar.gz kernel_goldelico_gta04-51cd4aabd082144881644c308647ca501690b68c.tar.bz2 |
cfg80211: allow drivers that can't scan for specific ssids
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r-- | net/wireless/core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index d585029..a98670c 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -346,9 +346,6 @@ int wiphy_register(struct wiphy *wiphy) int i; u16 ifmodes = wiphy->interface_modes; - if (WARN_ON(wiphy->max_scan_ssids < 1)) - return -EINVAL; - /* sanity check ifmodes */ WARN_ON(!ifmodes); ifmodes &= ((1 << __NL80211_IFTYPE_AFTER_LAST) - 1) & ~1; |