]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Clear WPS ctrl flag if zero length IE is received from cfg80211
authorRaja Mani <rmani@qca.qualcomm.com>
Tue, 15 Nov 2011 08:44:56 +0000 (14:14 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 16 Nov 2011 08:39:39 +0000 (10:39 +0200)
commitd9faee214bb57eb22a37fc4a48a5064c8c6fdd67
treeb505291ebb2d7e04f78ab6c2d4513825c0096247
parent5ae9f16a86862867512add1c4d8655980ed53b67
ath6kl: Clear WPS ctrl flag if zero length IE is received from cfg80211

Connect control flag CONNECT_WPS_FLAG has to be cleared
by default even if the driver receives zero length IE
from cfg80211.

Otherwise this flag would be always set after WPS exchange
which would lead wpa_supplicant to fail to connect with
the received WPS credentials. This issue is observed only
in OPEN security.

kvalo: use cfg80211 instead of CFG in the commit log

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c