wl18xx: copy the default configuration before checking the board_type
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:58 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:57:20 +0000 (15:57 +0300)
commit776f030aa0ed65fbc266219fb858bbfc909d97d2
tree3fadaae298eb0171f4369c554615bda8a724c997
parentdf472894ab21814edf54a3cd81c8ae7066365e0e
wl18xx: copy the default configuration before checking the board_type

We were changing the low_band_component_type in the private
configuration structure before copying the default values to it, so
the change was overwritten and only took effect after HW recovery.

Reported-by: Dror Erez <drorer@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wl18xx/main.c