]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore/wl12xx/wl18xx: don't use TX align quirk for wl127x
authorLuciano Coelho <coelho@ti.com>
Mon, 4 Jun 2012 21:02:25 +0000 (00:02 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 13:07:16 +0000 (16:07 +0300)
commit622c24d1c808adcdea7ff66c5401689de739a49b
tree32b41a3b7d44344c0253453e912e55db3a416f81
parent5260093e3b719082f8cca79d6eb7282fcda9e034
wlcore/wl12xx/wl18xx: don't use TX align quirk for wl127x

Commit 4afc37 (wlcore: reorder identify_chip and get_hw_info) broke
support for wl127x chips.

When we moved the identify_chip operation to an earlier stage (ie. to
the probe function), we broke wl127x support because during HW init we
would set the WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN.

To avoid this, set this quirk in the identify_chip operations and only
force it to be unset if the bus module doesn't support it.  We were
doing the opposite and setting the flag if the bus module supports it.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wlcore/main.c