libertas: support boot commands to write persistent firmware and bootloader
authorBrian Cavagnolo <brian@cozybit.com>
Mon, 21 Jul 2008 18:02:46 +0000 (11:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 20:29:49 +0000 (16:29 -0400)
commit1556c0f22df77800d2e99342ce354a4ce94c5a0f
tree76c8af4251f78f1afc4504135c9d355ca15d4127
parent38e3b0d86eaa0bf90a74677b6d6c442ec66daa0c
libertas: support boot commands to write persistent firmware and bootloader

Add locking and non-locking versions of if_usb_prog_firmware to support
programming firmware after and before driver bring-up respectively.  Add more
suitable error codes for firmware programming process.  Add capability checks
for persistent features before attempting to use them.

Based on patches from Brajesh Dave and Priyank Singh.

Signed-off-by: Brian Cavagnolo <brian@cozybit.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/defs.h
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/if_usb.h