staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 11 May 2017 17:57:44 +0000 (18:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 12:30:16 +0000 (14:30 +0200)
commit427907e599fa7f4e3313740a8f54be467261c167
tree15734dec41b529f20e81a38785b9c445b2952aee
parent8b26f53bf0260c71072a504f7f1d6f8c1baee3d2
staging: rtl8192e: fix 2 byte alignment of register BSSIDR.

commit 867510bde14e7b7fc6dd0f50b48f6753cfbd227a upstream.

BSSIDR has two byte alignment on PCI ioremap correct the write
by swapping to 16 bits first.

This fixes a problem that the device associates fail because
the filter is not set correctly.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c