]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit905118c84b5da52658d38f85cf3f91d6ba11e13e
treeec95639865b488f0aa014de4e1639ca4e08c6338
parenta1aac5a8c3b92867d08c41ac2c047fade53d7874
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