diff options
author | Andrey Yurovsky <andrey@cozybit.com> | 2009-07-31 11:35:19 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:21 -0400 |
commit | 88d89526a671ba008f59456161b0c513cdfb5d5a (patch) | |
tree | 66645cef5aa099db182a88597ad059164adcfb33 /drivers/net/wireless/libertas/tx.c | |
parent | d1c5091f23fed5195271e2849f89017d3a126521 (diff) |
libertas: check valid bits in SPI bus mode reg
The SPI driver writes to the bus mode register and performs a sanity
check by reading back what we wrote, however only the lower four bits of
that register are defined. In some cases, the device side seems to set
the higher bits, causing us to fail the sanity check unnecessarily.
Check only the lower four bits instead.
Thanks to John Goyette from Schick Technologies for pointing out the
problem.
Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/tx.c')
0 files changed, 0 insertions, 0 deletions