Search Linux Wireless

Re: [PATCH 1/2] mwifiex: return success in set_default_key for WPA/WPA2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-04-01 at 18:36 -0700, Bing Zhao wrote:
> From: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
> 
> When testing wpa_supplicant with 'nl80211' driver to connect
> to an AP with WPA/WPA2 security, we notice the followings:
> 
> 1) add_key is called firstly with the key from cfg80211
> 2) set_defaut_key is called next
> 
> set_default_key() is specific to WEP keys and should not be
> called in case of WPA/WPA2 security. The set_default_key()
> won't be called if wpa_supplicant uses "-Dwext" option,
> but it's been called if "-Dnl80211" option is specified.
> 
> We can fix this issue by adding a check to return from
> set_default_key() if WEP key is not configured.

Hmmm. Yeah this seems like it shouldn't be happening, but maybe checking
should be in cfg80211 and it should reject the supplicant's call?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux