rtl818x_pci: Fix BSSID register written incorrectly
authorAndrea Merello <andrea.merello@gmail.com>
Mon, 30 Jun 2014 16:17:48 +0000 (18:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jul 2014 18:26:26 +0000 (14:26 -0400)
commit1f622d76fa704bc67b4fbf0d72cc6c369112986c
tree6f3312b20e1ca97dd597a4bd19909b33c1ee1855
parentb49c3caf5ef1476895f92ea5fac0b6bd48854628
rtl818x_pci: Fix BSSID register written incorrectly

BSSID register was written with six byte-writes.
It seems that, similarly to what happens with MAC registers, they needs to be
written with one 16-bit and one 32-bit writes, otherwise the write does not work.

The byte write didn't work only on my rtl8185, while it worked on rtl8180 and
rtl8187se, BTW since there are probably a number of different ASIC revisions out
of there, I let the change to affect all cards.
It shouldn't hurt anyway.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c