]> Pileus Git - ~andy/linux/commit
staging: brcm80211: improved checks on incompatible firmware
authorRoland Vossen <rvossen@broadcom.com>
Tue, 15 Feb 2011 11:35:40 +0000 (12:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:04:55 +0000 (13:04 -0800)
commit7249e6a17bacbb18c4baf1b0d5ca70925409120d
treefb1a88198473c938e758c16a5d64b0bfc9fa40b4
parent490e00f68534cd724ba8e486ff6cd6b10d1891b1
staging: brcm80211: improved checks on incompatible firmware

The return status of wl_ucode_init_buf() is now being used. Also a bug in
firmware validation, which could lead to incompatible firmware not being
rejected by the driver, has been fixed. Comment from Dan Carpenter on using
negative error values has been incorporated in this commit.

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