On Tue, 2018-04-10 at 02:19 +0000, Xinming Hu wrote: > Hi Kalle, > > > -----Original Message----- > > From: Kalle Valo [mailto:[email protected]] > > Sent: 2018年4月9日 18:51 > > To: Xinming Hu <[email protected]> > > Cc: Linux Wireless <[email protected]>; Brian Norris > > <[email protected]>; Dmitry Torokhov <[email protected]>; > > [email protected]; Zhiyuan Yang <[email protected]>; Tim Song > > <[email protected]>; Cathy Luo <[email protected]>; James Cao > > <[email protected]>; Ganapathi Bhat <[email protected]>; Ellie > > Reeves > > <[email protected]> > > Subject: Re: [v2 PATCH] mwifiex: parse key management suite from > > RSN IE > > > > Xinming Hu <[email protected]> writes: > > > > > Association failed when using wpa_supplicant with configuration > > > key_mgmt=WPA-PSK-SHA256, and it is noticed that wpa_supplicant > > > set > > > WLAN_AKM_SUITE_PSK_SHA256 in RSN IE, but miss it in start_ap > > > parameters. > > > > > > This patch parse key management suite from RSN IE, in case it is > > > missed. > > > > > > Signed-off-by: Xinming Hu <[email protected]> > > > > Shouldn't you fix wpa_supplicant instead of adding a workaround to > > the driver? > > > > Yes, I am preparing a wpa_supplicant fix on this. > Even so, driver fix is still need to compatible with old > wpa_supplicant stable release
Typically the kernel does not add hacks to work around userspace software bugs. The userspace software needs to be fixed and upgraded. Dan
