Skip to content

Commit

Permalink
hostap: remove netif_stop_queue from init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Meelis Roos authored and John W. Linville committed Dec 20, 2010
1 parent 9f33328 commit b2b7ab2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wireless/hostap/hostap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b2b7ab2

Please sign in to comment.