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>
Mon, 15 May 2017 09:48:44 +0000 (11:48 +0200)
commit867510bde14e7b7fc6dd0f50b48f6753cfbd227a
treeec95639865b488f0aa014de4e1639ca4e08c6338
parentbaabd567f87be05330faa5140f72a91960e7405a
staging: rtl8192e: fix 2 byte alignment of register BSSIDR.

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c