staging: brcm80211: bugfix for oops on firmware load problems
authorRoland Vossen <rvossen@broadcom.com>
Tue, 15 Feb 2011 10:13:50 +0000 (11:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:04:54 +0000 (13:04 -0800)
commit59909c7c296a9f75ff395db2006de0aa6f57e7a7
treefcb8788c8ce4ded63354739f03fd80df335daa46
parent02160695a40f915e5c0f5bbe1288365f6ac7cf8e
staging: brcm80211: bugfix for oops on firmware load problems

Upon firmware load failure, wl_release_fw() was called multiple
times. This caused the driver to oops. Solution was to remove redundant
wl_release_fw() calls.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c