aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/rx.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-11-29 16:27:31 +0200
committerLuciano Coelho <coelho@ti.com>2012-04-12 08:43:57 +0300
commit6f7dd16cb125468a5393861c22fbecfb52dd9653 (patch)
tree45803828a2b7a5d0808510e73d24af3e075f6e23 /drivers/net/wireless/ti/wlcore/rx.c
parentwlcore/wl12xx: implement chip-specific register tables (diff)
downloadlinux-dev-6f7dd16cb125468a5393861c22fbecfb52dd9653.tar.xz
linux-dev-6f7dd16cb125468a5393861c22fbecfb52dd9653.zip
wlcore/wl12xx: add chip-specific identify chip operation
Move the code that identifies the chip ID and selects the appropriate firmware to an operation implemented by the lower driver. Also move the quirks definitions into wlcore.h and rename to WLCORE_QUIRK_*. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/rx.c')
-rw-r--r--drivers/net/wireless/ti/wlcore/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/rx.c b/drivers/net/wireless/ti/wlcore/rx.c
index d7fab4626a1d..71c8d7095059 100644
--- a/drivers/net/wireless/ti/wlcore/rx.c
+++ b/drivers/net/wireless/ti/wlcore/rx.c
@@ -282,7 +282,7 @@ void wl12xx_rx(struct wl1271 *wl, struct wl12xx_fw_status *status)
* Write the driver's packet counter to the FW. This is only required
* for older hardware revisions
*/
- if (wl->quirks & WL12XX_QUIRK_END_OF_TRANSACTION)
+ if (wl->quirks & WLCORE_QUIRK_END_OF_TRANSACTION)
wl1271_write32(wl, WL12XX_REG_RX_DRIVER_COUNTER,
wl->rx_counter);