summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Misc.c
diff options
context:
space:
mode:
authorStephen Hemminger2010-11-01 19:06:24 +0100
committerStephen Hemminger2010-11-01 19:06:24 +0100
commit4ea4f7a0d3d7a9961bf77f0860df8dd4a213b8a3 (patch)
tree7b05b17e828df1494aa112a1d0bdc1f809f344aa /drivers/staging/bcm/Misc.c
parentbeceem: don't overrun user buffer on read (diff)
downloadkernel-qcow2-linux-4ea4f7a0d3d7a9961bf77f0860df8dd4a213b8a3.tar.gz
kernel-qcow2-linux-4ea4f7a0d3d7a9961bf77f0860df8dd4a213b8a3.tar.xz
kernel-qcow2-linux-4ea4f7a0d3d7a9961bf77f0860df8dd4a213b8a3.zip
beceem: change startup messages
Change the regsister/unregister routines to generate better messages, and control arrival of new frames when USB device is unplugged. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Diffstat (limited to 'drivers/staging/bcm/Misc.c')
-rw-r--r--drivers/staging/bcm/Misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Misc.c b/drivers/staging/bcm/Misc.c
index c1d73a70f9e4..82d9f86821ca 100644
--- a/drivers/staging/bcm/Misc.c
+++ b/drivers/staging/bcm/Misc.c
@@ -132,7 +132,7 @@ VOID AdapterFree(PMINI_ADAPTER Adapter)
if(Adapter->LEDInfo.led_thread_running & (BCM_LED_THREAD_RUNNING_ACTIVELY | BCM_LED_THREAD_RUNNING_INACTIVELY))
kthread_stop (Adapter->LEDInfo.led_cntrl_threadid);
- unregister_netdev(Adapter->dev);
+ unregister_networkdev(Adapter);
/* FIXME: use proper wait_event and refcounting */
while(atomic_read(&Adapter->ApplicationRunning))