From patchwork Thu Sep 10 18:31:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 46637 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8AIW297025341 for ; Thu, 10 Sep 2009 18:32:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752922AbZIJSby (ORCPT ); Thu, 10 Sep 2009 14:31:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752755AbZIJSby (ORCPT ); Thu, 10 Sep 2009 14:31:54 -0400 Received: from bu3sch.de ([62.75.166.246]:56819 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916AbZIJSby (ORCPT ); Thu, 10 Sep 2009 14:31:54 -0400 Received: by vs166246.vserver.de with esmtpa (Exim 4.69) id 1MloR2-0004Dm-H8; Thu, 10 Sep 2009 18:31:56 +0000 From: Michael Buesch To: "John W. Linville" Subject: [PATCH] b43: Force-wake queues on init Date: Thu, 10 Sep 2009 20:31:46 +0200 User-Agent: KMail/1.9.9 Cc: Broadcom Wireless , "linux-wireless" , Albert Herranz MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200909102031.47103.mb@bu3sch.de> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Force wake the mac80211 queues on init. Under rare circumstances they may be stopped, if a DMA error or something else causes a device reset while a queue was stopped. Signed-off-by: Michael Buesch Index: wireless-testing/drivers/net/wireless/b43/main.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43/main.c 2009-09-10 20:13:54.000000000 +0200 +++ wireless-testing/drivers/net/wireless/b43/main.c 2009-09-10 20:26:43.000000000 +0200 @@ -4326,6 +4326,8 @@ static int b43_wireless_core_init(struct b43_upload_card_macaddress(dev); b43_security_init(dev); + ieee80211_wake_queues(dev->wl->hw); + b43_set_status(dev, B43_STAT_INITIALIZED); out: