From: Larry Finger Date: Sun, 12 Jan 2014 21:11:38 +0000 (-0600) Subject: b43: Fix unload oops if firmware is not available X-Git-Tag: v3.14-rc1~94^2~113^2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0673effd41dba323d6a280ef37b5ef29f3f5a653;p=pandora-kernel.git 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 Cc: Stable Signed-off-by: John W. Linville --- Reading git-diff-tree failed