From: Ben Hutchings Date: Fri, 10 Sep 2010 00:38:18 +0000 (+0100) Subject: staging: brcm80211: Fix some initialisation failure paths X-Git-Tag: v2.6.37-rc1~60^2~3^2~635 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4764c3007ca306663ba1367a2b3475bfcdf09e;p=pandora-kernel.git staging: brcm80211: Fix some initialisation failure paths Initialise wl_info::tasklet early so that it's safe to tasklet_kill() it in wl_free(). Remove assertions from wl_free() that may not be true in case of initialisation failure. Call wl_release_fw() in case of failure after wl_request_fw(). Don't rely on wl_firmware::fw_cnt in wl_release_fw(). Signed-off-by: Ben Hutchings Signed-off-by: Henry Ptasinski Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed