]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: Fix calling conditions of vnt_set_bss_mode
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 18 Apr 2020 17:37:18 +0000 (18:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 11:47:34 +0000 (13:47 +0200)
commit905dbd798abd762bfcfb5f4663ea2e77d9c7c956
tree8315890511f0588b42d89b948a7c9c9e2edbe032
parente18fa4dd2e5c1413b9bb7ec26db4f83e243c50dd
staging: vt6656: Fix calling conditions of vnt_set_bss_mode

vnt_set_bss_mode needs to be called on all changes to BSS_CHANGED_BASIC_RATES,
BSS_CHANGED_ERP_PREAMBLE and BSS_CHANGED_ERP_SLOT

Remove all other calls and vnt_update_ifs which is called in vnt_set_bss_mode.

Fixes an issue that preamble mode is not being updated correctly.

Fixes: 57a02a865239 ("staging: vt6656: Only call vnt_set_bss_mode on basic rates change.")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/44110801-6234-50d8-c583-9388f04b486c@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c