staging: r8188eu: Make firmware buffer persistent
authorStas Sergeev <stsp@users.sourceforge.net>
Fri, 14 Feb 2014 22:54:17 +0000 (16:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 20:40:19 +0000 (12:40 -0800)
commit60800abdc147ba034204408cc4745d66e1ffbb8e
treeb8e8112ed558d0874dcef8c2a438abd3752104e9
parentf87028f42fafe2ee9dc7f039b963173daae81123
staging: r8188eu: Make firmware buffer persistent

The present code reloads the firmware file from the disk every time the interface
re-inits. Change to hold the firmware in memory, and only download to the
device.

Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/drv_types.h
drivers/staging/rtl8188eu/include/rtl8188e_hal.h
drivers/staging/rtl8188eu/os_dep/os_intfs.c