staging: vt6656: call vnt_update_pre_ed_threshold from vnt_config.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 19 Apr 2020 11:20:52 +0000 (12:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 11:33:36 +0000 (13:33 +0200)
commit6f21cb793ce209e4e2ae020e06e0a39b9a8bf2c0
tree25a66c8edaf6bd801d2e7dd1f1128ba23bf0c263
parent72d55ebb50e1ebc636ff70d9130254ea82c0312e
staging: vt6656: call vnt_update_pre_ed_threshold from vnt_config.

vnt_update_pre_ed_threshold needs to be updated more often so
call from vnt_config where it updated on any of config changes.

It must have maximum sensitivity when the device is off channel
or idle.

Remove all the other calls in scanning and bss.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/1b00c112-347c-b0bb-61ed-a874ee448ff8@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c