rt2x00: Synchronize WCID initialization with legacy driver
authorIvo van Doorn <IvDoorn@gmail.com>
Mon, 14 Jun 2010 20:14:19 +0000 (22:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 20:02:21 +0000 (16:02 -0400)
commite4a0ab3487d847ce8044a2d49f82391ea7d6489e
treec9d734fef8382627917cab23be61611572e5c6e8
parent04f1e34d3c4ce8db05524cf527659eed1635ab20
rt2x00: Synchronize WCID initialization with legacy driver

Legacy rt2870 driver handles WCID differently then we expected,
the BSSID and Cipher value are 3 bit values, while the 4th bit
should be set elsewhere in an extended field.

After this, rt2800usb reports frames have been decrypted
successfully, indicating that the Hardware decryption now is
working correctly.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c