summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_init.c
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@nokia.com>2009-12-11 15:40:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:31:33 -0500
commit94210897e2b7df8446fdecd360342149e5b4a400 (patch)
tree346d51bae1758c3f460bf3944ca602b912e48031 /drivers/net/wireless/wl12xx/wl1271_init.c
parent3ed8f2c61466f10d99585365fd2aaafaf2d4c949 (diff)
downloadblackbird-op-linux-94210897e2b7df8446fdecd360342149e5b4a400.tar.gz
blackbird-op-linux-94210897e2b7df8446fdecd360342149e5b4a400.zip
wl1271: use channel 1 when configuring the data path
In the data path configuration, one of the parameters is the channel. We have been setting it to wl->channel, which is not correct in this case. This channel has nothing to do with the channel we're currently tuned to, since it is only used for calibration during this phase. Hardcoded the channel to 1, according to the reference driver. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/wl1271_init.c
index 39f01d875703..bdd4a968b37d 100644
--- a/drivers/net/wireless/wl12xx/wl1271_init.c
+++ b/drivers/net/wireless/wl12xx/wl1271_init.c
@@ -289,7 +289,7 @@ int wl1271_hw_init(struct wl1271 *wl)
goto out_free_memmap;
/* Enable data path */
- ret = wl1271_cmd_data_path(wl, wl->channel, 1);
+ ret = wl1271_cmd_data_path(wl, 1);
if (ret < 0)
goto out_free_memmap;
OpenPOWER on IntegriCloud