summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_main.c
diff options
context:
space:
mode:
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>2010-02-22 08:38:28 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:02:59 -0500
commit09a9c2b3f464e757b6597f621cc3bedb6f040a27 (patch)
treeb64549813e1ad5008e860d3bb395ea6303ac9ed6 /drivers/net/wireless/wl12xx/wl1271_main.c
parent5129dffebd4eab1749e63bb4a1b7abdc92903227 (diff)
downloadop-kernel-dev-09a9c2b3f464e757b6597f621cc3bedb6f040a27.zip
op-kernel-dev-09a9c2b3f464e757b6597f621cc3bedb6f040a27.tar.gz
wl1271: Changed access to fw status register to use raw read
Changed access to fw status register to use raw read instead of translated addressing. On SDIO access by translated addressing was not working and raw access is working also on SPI. Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index ea49ced..310f58c 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -377,7 +377,7 @@ static void wl1271_fw_status(struct wl1271 *wl,
u32 total = 0;
int i;
- wl1271_read(wl, FW_STATUS_ADDR, status, sizeof(*status), false);
+ wl1271_raw_read(wl, FW_STATUS_ADDR, status, sizeof(*status), false);
wl1271_debug(DEBUG_IRQ, "intr: 0x%x (fw_rx_counter = %d, "
"drv_rx_counter = %d, tx_results_counter = %d)",
OpenPOWER on IntegriCloud