staging: vt6656: vnt_rxtx_rsvtime_le16 to use ieee80211_generic_frame_duration.
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 5 May 2020 21:12:04 +0000 (22:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 11:53:54 +0000 (13:53 +0200)
commit57b4b0e68d668ad048bf5f1b8166396fe45ba5b0
treeb7b61dd789905bd4aca756debd23afc00245fab6
parentc5de40e58f2f6cba9a11efcc5f4ef0ccf5be9729
staging: vt6656: vnt_rxtx_rsvtime_le16 to use ieee80211_generic_frame_duration.

ieee80211_generic_frame_duration is the mac80211 equivalent to
vnt_get_rsvtime use this to get our frame time.

There is a change where there is rrv_time_a and rrv_time_b
the frame duration is always the same so both are equal.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/acff7fcc-0add-652b-7d07-22001b641257@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c