ath11k: fix pdev when invoking ath11k_wmi_send_twt_enable_cmd()
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Fri, 13 Dec 2019 15:34:56 +0000 (16:34 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 17:41:36 +0000 (19:41 +0200)
commit485add35771b07e56833cff77e07936ba78e731c
treeac7fa9d646342da4c33e706fa4d52e1e166ce842
parent2ad578fdb7b544e2000cbec7bc1c2796208f3fcf
ath11k: fix pdev when invoking ath11k_wmi_send_twt_enable_cmd()

The code currently uses the wrong pdev id when enabling TWT. Fix this by
using the correct ones.

Fixes: e65a616f4e74 ("ath11k: add TWT support")
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/mac.c