From: Meelis Roos <mroos@linux.ee>
To: David Miller <davem@davemloft.net>
Cc: j@w1.fi, netdev@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: [PATCH] hostap: remove netif_stop_queue from init
Date: Fri, 17 Dec 2010 23:27:50 +0200 (EET) [thread overview]
Message-ID: <alpine.SOC.1.00.1012172324340.24976@math.ut.ee> (raw)
In-Reply-To: <20101210.094747.193727608.davem@davemloft.net>
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>
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)
--
Meelis Roos (mroos@linux.ee)
next prev parent reply other threads:[~2010-12-17 21:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 23:19 [PATCH] fix hostap registration order Meelis Roos
2010-12-10 3:53 ` David Miller
2010-12-10 7:19 ` Meelis Roos
2010-12-10 17:47 ` David Miller
2010-12-17 21:27 ` Meelis Roos [this message]
[not found] ` <alpine.SOC.1.00.1012172324340.24976-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
2010-12-17 21:32 ` [PATCH] hostap: remove netif_stop_queue from init David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.SOC.1.00.1012172324340.24976@math.ut.ee \
--to=mroos@linux.ee \
--cc=davem@davemloft.net \
--cc=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).