Return-path: Received: from mail-la0-f44.google.com ([209.85.215.44]:39833 "EHLO mail-la0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbaIJIYE (ORCPT ); Wed, 10 Sep 2014 04:24:04 -0400 MIME-Version: 1.0 In-Reply-To: <540FDB3C.6060301@hartkopp.net> References: <20140908191630.GB29412@tuxdriver.com> <540F5927.7000306@hartkopp.net> <540F61D0.9000704@hartkopp.net> <540FDB3C.6060301@hartkopp.net> Date: Wed, 10 Sep 2014 11:24:01 +0300 Message-ID: (sfid-20140910_102415_100118_7D073ABC) Subject: Re: iwlwifi no authentication with AP - Re: pull request: wireless-next 2014-09-08 From: Emmanuel Grumbach To: Oliver Hartkopp Cc: Vadim Kochan , "John W. Linville" , linux-wireless , "netdev@vger.kernel.org" Content-Type: multipart/mixed; boundary=001a11c2b81638b10c0502b1c6d3 Sender: linux-wireless-owner@vger.kernel.org List-ID: --001a11c2b81638b10c0502b1c6d3 Content-Type: text/plain; charset=UTF-8 On Wed, Sep 10, 2014 at 8:01 AM, Oliver Hartkopp wrote: > On 10.09.2014 00:07, Vadim Kochan wrote: >> I have the same issue with iwlwifi. > > I tried an old zd1211 wireless USB stick to check if this problem is 80211 > related. But the USB stick works fine (I'm using it right now). > So its definitely looks like an iwlwifi issue. > >> iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0 > > Wasn't there any change in the iwlwifi tx path recently?? Can you please try the patch attached? It works for me. > > Regards, > Oliver > >> --001a11c2b81638b10c0502b1c6d3 Content-Type: text/x-patch; charset=US-ASCII; name="0001-iwlwifi-trans-don-t-configure-the-set_active-in-SCD-.patch" Content-Disposition: attachment; filename="0001-iwlwifi-trans-don-t-configure-the-set_active-in-SCD-.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hzwebk6x0 RnJvbSA0MmJmY2Y5M2UxOGNiODUwZDBiNWY1ZTBhNGI5OWEyMzllMGU1N2FiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMj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