rt2x00: Fix basic rate initialization
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 9 Mar 2008 21:48:08 +0000 (22:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2008 23:31:42 +0000 (19:31 -0400)
The basic rate which is configured in the register
should not match all supported rates, but only the _basic_ rates.

Fix this by adding a new flag to the rt2x00_rate structure
and whenever the mode is changed, loop over all available rates
for that band to get the basic rate mask.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found