summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43legacy/main.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-01-12 15:11:38 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-06 11:22:16 -0800
commitac44c9e127d1c1452441af52eed1a55515bf10bd (patch)
treea4a209b9281b2f027bdc75284cf3cf50ccb5645f /drivers/net/wireless/b43legacy/main.c
parent166da381bb32cdb0873c81f9fc918ec41bcde63c (diff)
b43: Fix unload oops if firmware is not available
commit 0673effd41dba323d6a280ef37b5ef29f3f5a653 upstream. The asyncronous firmware load uses a completion struct to hold firmware processing until the user-space routines are up and running. There is. however, a problem in that the waiter is nevered canceled during teardown. As a result, unloading the driver when firmware is not available causes an oops. To be able to access the completion structure at teardown, it had to be moved into the b43_wldev structure. This patch also fixes a typo in a comment. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
0 files changed, 0 insertions, 0 deletions