]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: Fix bssid buffer offset in Txq
authorAditya Shankar <aditya.shankar@microchip.com>
Fri, 3 Nov 2017 08:56:27 +0000 (14:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Nov 2017 15:44:05 +0000 (16:44 +0100)
commit15f89690672559d802c87b22fcd7e8204c3ef4aa
tree4df1f68469e32d1089878aa58f4519fc5caefa76
parent5c2406f1eb6e9b3a0a590ef9f56c737a5c7d9701
staging: wilc1000: Fix bssid buffer offset in Txq

Commit ccdec54e04d1 ("staging: wilc1000: New cfg packet
format in handle_set_wfi_drv_handler") updated the frame
format sent from host to the firmware. The code to update
the bssid offset in the new frame was part of a second
patch in the series which did not make it in and thus
causes connection problems after associating to an AP.

This fix adds the proper offset of the bssid value in the
Tx queue buffer to fix the connection issues.

Fixes: ccdec54e04d1 ("staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler")
Cc: stable@vger.kernel.org
Signed-off-by: Aditya Shankar <Aditya.Shankar@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c