diff options
author | Meelis Roos <mroos@linux.ee> | 2010-12-17 23:27:50 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:22:07 -0500 |
commit | b2b7ab22fa2e619c20917e825c0da7212ca2efc9 (patch) | |
tree | b383e1fa780f4bde2dfe2146d5c194a868ab1c92 /drivers/net | |
parent | 9f333281a7da4c3a59bccc0cb53f7590eb850d93 (diff) | |
download | kernel_samsung_aries-b2b7ab22fa2e619c20917e825c0da7212ca2efc9.zip kernel_samsung_aries-b2b7ab22fa2e619c20917e825c0da7212ca2efc9.tar.gz kernel_samsung_aries-b2b7ab22fa2e619c20917e825c0da7212ca2efc9.tar.bz2 |
hostap: remove netif_stop_queue from init
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.
(This removes a warning about calling netif_stop_queue before
register_netdev is called. -- JWL)
Signed-off-by: Meelis Roos <mroos@linux.ee>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |