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>
Thu, 23 Apr 2020 11:43:55 +0000 (13:43 +0200)
commit09057742af98a39ebffa27fac4f889dc873132de
tree1067138d38de69fcec387cfb4cd4b026a06eb30b
parent0f8240bfc070033a4823b19883efd3d38c7735cc
staging: vt6656: Fix drivers TBTT timing counter.

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