rt2x00: Fix RF offset
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 17 Feb 2009 13:04:29 +0000 (14:04 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:40 +0000 (14:52 -0500)
commitabd2fdb4c606f0e5cfec3647d57ebd20f03caafd
tree537531860a734e136099c13664dcdff8ac35fb55
parent98c8a60a04316e94ccea8221cf16768ce91bd214
rt2x00: Fix RF offset

The word_base is in bytes instead of word index number,
this means that when using it, it should be transformed into
a word index first.

Otherwise RF register reading will fail through debugfs since
we would start reading 4 words starting with word 4 (which is the last
valid word for RF).

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00debug.c