rt2x00: do not set timestamp for injected frames
authorStanislaw Gruszka <stf_xl@wp.pl>
Tue, 4 May 2021 08:12:20 +0000 (10:12 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 Jun 2021 13:36:20 +0000 (16:36 +0300)
commit7af305a1245a7ceff2d8577e011d0a0f7cc33e4c
tree8a2defb89b2e3d38e646f2f2ca44a30409c4cea4
parentd10a87a3535cce2b890897914f5d0d83df669c63
rt2x00: do not set timestamp for injected frames

We setup hardware to insert TSF timestamp for beacon and probe response
frames. This is undesired for injected frames, which might want to
set their own timestamp values, so disable this setting for injected
frames.

Tested-by: ZeroBeat <ZeroBeat@gmx.de>
Tested-by: n0w1re <n0w1re@protonmail.ch>
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210504081220.666939-1-stf_xl@wp.pl
drivers/net/wireless/ralink/rt2x00/rt2x00queue.c