wl12xx: moved firmware version reading routine to chip-specific functions
authorLuciano Coelho <luciano.coelho@nokia.com>
Fri, 12 Jun 2009 11:15:27 +0000 (14:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:45 +0000 (14:57 -0400)
commit0d1c38398fa8cd478a229b4428fb511f813376e8
tree483441e09e49dd0f2c38da54020ce09ba8664c25
parenta336e266640cd9f7be96b14ff09bbb37dfa646de
wl12xx: moved firmware version reading routine to chip-specific functions

With WL1271, the firmware version can only be read right after booting the
chip.  To keep WL1251 aligned with this procedure, the code that reads the
firmware version initially has been moved to a common place where it can be
read from both chipsets.

Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/boot.c
drivers/net/wireless/wl12xx/wl1251.c
drivers/net/wireless/wl12xx/wl12xx.h