linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8192e: Fix incorrect netif_stop_queue usage warning
@ 2011-03-01  7:23 Ozan Çağlayan
  2011-03-01 21:15 ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Ozan Çağlayan @ 2011-03-01  7:23 UTC (permalink / raw)
  To: linux-wireless; +Cc: gregkh

The TX queues are allocated inside register_netdev.
It doesn't make any sense to stop the queue before
allocation.

Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
---
 drivers/staging/rtl8192e/r8192E_core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c
index fac4eee..08af4fa 100644
--- a/drivers/staging/rtl8192e/r8192E_core.c
+++ b/drivers/staging/rtl8192e/r8192E_core.c
@@ -6006,7 +6006,6 @@ static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
 	}
 
 	netif_carrier_off(dev);
-	netif_stop_queue(dev);
 
 	register_netdev(dev);
 	RT_TRACE(COMP_INIT, "dev name=======> %s\n",dev->name);
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-03 12:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01  7:23 [PATCH] staging: rtl8192e: Fix incorrect netif_stop_queue usage warning Ozan Çağlayan
2011-03-01 21:15 ` Greg KH
2011-03-01 21:43   ` Ozan Çağlayan
2011-03-01 22:01     ` Greg KH
2011-03-01 22:04       ` Ozan Çağlayan
2011-03-03 12:37         ` Ozan Çağlayan

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).