From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksij Rempel Date: Wed, 19 Jun 2013 15:06:52 +0200 Subject: [ath9k-devel] ath9k_htc: station unable to authenticate In-Reply-To: <20130619115809.GA26717@zenon.in.qult.net> References: <20130619115809.GA26717@zenon.in.qult.net> Message-ID: <51C1ACEC.2020703@rempel-privat.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org So, regression was introduced by this patch: Author: Johannes Berg Date: Fri Mar 22 22:30:09 2013 +0100 mac80211: fix idle handling sequence Corey Richardson reported that my idle handling cleanup (commit fd0f979a1b, "mac80211: simplify idle handling") broke ath9k_htc. The reason appears to be that it wants to go out of idle before switching channels. To fix it, reimplement that sequence. Reported-by: Corey Richardson Signed-off-by: Johannes Berg Johannes, can you please take a look on it. Am 19.06.2013 13:58, schrieb Ignacy Gawedzki: > Hi, > > After a lot of git-bisecting and other testing, it appears that commit > 382a103b2b528a3085cde4ac56fc69d92a828b72 (linux-stable.git) is the culprit. > > To reproduce the problem, use backports-20130607, and the ath9k defconfig > (with no change otherwise). > > The station is unable to authenticate with WPA2 to the AP. Interestingly > enough, if a monitor vif is created and upped beforehand, the authentication > succeeds. > > After reverting the commit, authentication succeeds very quickly (without the > need to up a monitor vif), just as expected. > > Note that I have kernel 3.8.0 (as per Ubuntu 13.04) and that original > ath9k_htc driver works as expected. This has been also tested on Debian with > driver from original kernel 3.9 (i.e. without backports). > > For the moment I can live with the commit reverted, but I suppose it's been > there to fix something else, so this should probably be looked into by someone > more knowledgeable than me. > > Ignacy > -- Regards, Oleksij