diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-09-28 14:28:09 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-28 14:28:09 (GMT) |
commit | 0874073570d9184a169a4ae2abbe8dbcb71878e9 (patch) | |
tree | 81af47abc50641f911e3b5833850357a48a82be8 /net | |
parent | cd32984f64cb4fdd84e33f30da1f10582fc43cbf (diff) | |
parent | ba54238552625aad2d75f455a4d3db18ea7dec68 (diff) | |
download | linux-0874073570d9184a169a4ae2abbe8dbcb71878e9.tar.xz |
Merge branch 'master' of git://git.infradead.org/users/linville/wireless
Conflicts:
drivers/net/wireless/iwlwifi/iwl-scan.c
net/wireless/nl80211.c
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index bf3fc4f..b850757 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -4300,6 +4300,9 @@ static int nl80211_crypto_settings(struct cfg80211_registered_device *rdev, if (len % sizeof(u32)) return -EINVAL; + if (settings->n_akm_suites > NL80211_MAX_NR_AKM_SUITES) + return -EINVAL; + memcpy(settings->akm_suites, data, len); } |