mwl8k: replace rateinfo bitfields with mask and shift macros
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Apr 2011 19:04:28 +0000 (15:04 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Apr 2011 18:53:23 +0000 (14:53 -0400)
commit49adc5ceb2b95e517baf625e0c8e06e91073009b
treefd8ae16948ba48fd2b8baaf32aac6328579e75be
parentaf335a6cbc3dfcba64ad31561c0da563d1c43a2d
mwl8k: replace rateinfo bitfields with mask and shift macros

AFAICT, this driver is claiming that 24 bits of rate info fit into a
16-bit field in the Tx descriptor.  Anyway, the use of bitfields is
frowned-upon for a variety of well-documented reasons...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c