diff mbox

hostap: remove netif_stop_queue from init

Message ID alpine.SOC.1.00.1012172324340.24976@math.ut.ee
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Meelis Roos Dec. 17, 2010, 9:27 p.m. UTC
Fix runtime warning with backtrace from hostap by removing 
netif_stop_queue() call before register_netdev. Tested to work fine on 
hostap_pci Prism 2.5.

Signed-off-by: Meelis Roos <mroos@linux.ee>

Comments

David Miller Dec. 17, 2010, 9:32 p.m. UTC | #1
From: Meelis Roos <mroos@linux.ee>
Date: Fri, 17 Dec 2010 23:27:50 +0200 (EET)

> Fix runtime warning with backtrace from hostap by removing 
> netif_stop_queue() call before register_netdev. Tested to work fine on 
> hostap_pci Prism 2.5.
> 
> Signed-off-by: Meelis Roos <mroos@linux.ee>

Acked-by: David S. Miller <davem@davemloft.net>

John, please apply this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c
index 25a2722..1d9aed6 100644
--- a/drivers/net/wireless/hostap/hostap_main.c
+++ b/drivers/net/wireless/hostap/hostap_main.c
@@ -891,7 +891,6 @@  void hostap_setup_dev(struct net_device *dev, local_info_t *local,
 
 	SET_ETHTOOL_OPS(dev, &prism2_ethtool_ops);
 
-	netif_stop_queue(dev);
 }
 
 static int hostap_enable_hostapd(local_info_t *local, int rtnl_locked)