iwmc3200wifi: Profile flags can be WPA1 or WPA2 not both
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 16 Oct 2009 05:18:49 +0000 (13:18 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:25 +0000 (16:48 -0400)
commit6a79c9f62a87e39a265f9b855911fbc1f094ded0
treec8cdfa2d6e199dcefbfccf792c17550d7508a0ce
parente85498b21d0372a00f31ab9f7c0d215c32c9fad5
iwmc3200wifi: Profile flags can be WPA1 or WPA2 not both

UMAC will ASSERT if the profile security flag is WPA1 | WPA2, so we can only
accept one of those.
Moreover wpa_s wext and nl80211 drivers dont try to send WPA1 | WPA2, but only
one at a time.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/cfg80211.c