rt2x00: Don't set unicast/BSSID masks when clearning MAC or BSSID
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 30 Aug 2010 19:14:15 +0000 (21:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 31 Aug 2010 18:22:24 +0000 (14:22 -0400)
commitc600c826a6f4e35512955a5e9a22b0baa741b455
treedeffb2f8710401ec069041245edeb5b05ff2bf6f
parentb9eca24209a59ef0a8c3cbbbb94b8c76d4b3aae3
rt2x00: Don't set unicast/BSSID masks when clearning MAC or BSSID

When configuring the MAC_ADDR or MAC_BSSID with an empty address,
the UNICAST_TO_ME_MASK and BSS_ID_MASK must also be reset to prevent
invalid interpretation of the addresses.

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/rt2800lib.c