diff options
author | Luciano Coelho <luciano.coelho@nokia.com> | 2009-11-23 16:22:16 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:29 -0500 |
commit | cc7defa366ea770efb25add8711defe88862197b (patch) | |
tree | d0c51537af5b7bf73c16197cfaec484f07179a4c /drivers/net/wireless/wl12xx/wl1271_init.c | |
parent | 17d7265c7582af77357bd31884cef26f9f802313 (diff) |
wl1271: set radio and general params also for PLT
We need to set the radio and general parameters when starting PLT mode. This
patch adds calls to TEST_CMD_INI_RADIO_PARAMS and
TEST_CMD_INIT_GENERAL_PARAMS when initializing PLT mode.
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_init.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/wl1271_init.c index 7c2017f480ea..95ee0368438a 100644 --- a/drivers/net/wireless/wl12xx/wl1271_init.c +++ b/drivers/net/wireless/wl12xx/wl1271_init.c | |||
@@ -193,7 +193,7 @@ static int wl1271_init_beacon_broadcast(struct wl1271 *wl) | |||
193 | return 0; | 193 | return 0; |
194 | } | 194 | } |
195 | 195 | ||
196 | static int wl1271_init_general_parms(struct wl1271 *wl) | 196 | int wl1271_init_general_parms(struct wl1271 *wl) |
197 | { | 197 | { |
198 | struct wl1271_general_parms *gen_parms; | 198 | struct wl1271_general_parms *gen_parms; |
199 | struct conf_general_parms *g = &wl->conf.init.genparam; | 199 | struct conf_general_parms *g = &wl->conf.init.genparam; |
@@ -224,7 +224,7 @@ static int wl1271_init_general_parms(struct wl1271 *wl) | |||
224 | return 0; | 224 | return 0; |
225 | } | 225 | } |
226 | 226 | ||
227 | static int wl1271_init_radio_parms(struct wl1271 *wl) | 227 | int wl1271_init_radio_parms(struct wl1271 *wl) |
228 | { | 228 | { |
229 | struct wl1271_radio_parms *radio_parms; | 229 | struct wl1271_radio_parms *radio_parms; |
230 | struct conf_radio_parms *r = &wl->conf.init.radioparam; | 230 | struct conf_radio_parms *r = &wl->conf.init.radioparam; |