staging: vt6656: Fix drivers TBTT timing counter.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 18 Apr 2020 16:43:24 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:33:21 +0000 (16:33 +0200)
commit0bcc6585717e67914c9a710246faaec7f523b7e0
tree6a92ceb2eaa1756dffff6801b3e17ea6a38b9c4c
parent74bbe9d990400007b959a186cce744b4877cb99a
staging: vt6656: Fix drivers TBTT timing counter.

commit 09057742af98a39ebffa27fac4f889dc873132de upstream.

The drivers TBTT counter is not synchronized with mac80211 timestamp.

Reorder the functions and use vnt_update_next_tbtt to do the final
synchronize.

Fixes: c15158797df6 ("staging: vt6656: implement TSF counter")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/375d0b25-e8bc-c8f7-9b10-6cc705d486ee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c