aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-04-01 13:48:02 -0400
committerLuciano Coelho <coelho@ti.com>2011-04-19 09:49:22 -0400
commitafb7d3cd805df7a206439a7e7b5d1167d2bb06f6 (patch)
treec3b4209db2fef5fa2e9e3d3392ba94a032d35bd5 /drivers/net/wireless/wl12xx/main.c
parent6277ed65704d19377b0874618e5f23d64c9e71a6 (diff)
wl12xx: move hardcoded hci_io_ds value into the conf struct
Instead of hardcoding the hci_io_ds configuration that we write to the SDIO_IO_DS top registed, read it from the default configuration so that it's easier to change for different platforms. Reported-by: Ido Yariv <ido@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index a5a5d0133023..732fd21beafb 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -319,6 +319,7 @@ static struct conf_drv_settings default_conf = {
319 .min_req_rx_blocks = 22, 319 .min_req_rx_blocks = 22,
320 .tx_min = 27, 320 .tx_min = 27,
321 }, 321 },
322 .hci_io_ds = HCI_IO_DS_6MA,
322}; 323};
323 324
324static void __wl1271_op_remove_interface(struct wl1271 *wl); 325static void __wl1271_op_remove_interface(struct wl1271 *wl);