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 13:44:45 +0000 (15:44 +0200)
commitd0226f9adaf86597176dde4c794c935bb5d25656
treed22bee04d7394e298774f14d6a7f62be0d3553f2
parentf4205502948b5825254e31d9c82d377beb85d100
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