Return-path: Received: from stinky.trash.net ([213.144.137.162]:65105 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203AbYDWJr0 (ORCPT ); Wed, 23 Apr 2008 05:47:26 -0400 Message-ID: <480F05B2.9080409@trash.net> (sfid-20080423_114813_687152_C7A11C63) Date: Wed, 23 Apr 2008 11:47:30 +0200 From: Patrick McHardy MIME-Version: 1.0 To: "Luis R. Rodriguez" CC: "Luis R. Rodriguez" , Dan Williams , Roy Marples , "John W. Linville" , linux-wireless@vger.kernel.org Subject: Re: prism54 regression in current -git References: <480D6CA4.8040205@trash.net> <1208874998.17364.7.camel@localhost.localdomain> <480DFCB4.3040104@trash.net> <43e72e890804221050i47ba5974i59d89cde55645f4@mail.gmail.com> <20080422180332.GD4810@ruslug.rutgers.edu> <480E4FC2.5080909@trash.net> In-Reply-To: <480E4FC2.5080909@trash.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Patrick McHardy wrote: > Luis R. Rodriguez wrote: >>> Good catch. The carrier is set upon a firmware trigger so it is >>> possible that when in AP mode we don't hit the trigger in firmware. I >>> left open the possibility for this happening and go figure it happens. >>> Even if we had docs this probably wouldn't be documented :) I'll try >>> to cook up an exception patch now. >> >> Let me know if this fixes it. >> [...] > > This will probably fix the error I'm seeing, but if I'm not > mistaken the mode can be changed while the device is UP and > this case is not handled by your patch. I've verified that is fixes the bug if the device is already configured for AP mode when set UP. It appears to also be working correctly when configuring the device for master mode after bringing it up, but I don't understand why.