diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-01-12 15:11:38 -0600 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-13 14:50:02 -0500 |
commit | 0673effd41dba323d6a280ef37b5ef29f3f5a653 (patch) | |
tree | a77566c99cb389a3b41584431041312cbfc4104e /mm/maccess.c | |
parent | 09164043f63c947a49797750a09ca1cd7c31108e (diff) | |
download | linux-0673effd41dba323d6a280ef37b5ef29f3f5a653.tar.bz2 |
b43: Fix unload oops if firmware is not available
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>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions