From: Bartosz Markowski Date: Thu, 15 Dec 2016 09:23:24 +0000 (+0200) Subject: ath10k: add debug trace to rts/cts set function X-Git-Tag: v5.15~11819^2~129^2~2^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8617690174041dfe959b6ad71f1ff93ef4bea5d3;p=platform%2Fkernel%2Flinux-starfive.git ath10k: add debug trace to rts/cts set function Align it with the cts protection call. Signed-off-by: Bartosz Markowski Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 56f557e..12a5fcc 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -1275,6 +1275,9 @@ static int ath10k_recalc_rtscts_prot(struct ath10k_vif *arvif) rts_cts |= SM(WMI_RTSCTS_FOR_SECOND_RATESERIES, WMI_RTSCTS_PROFILE); + ath10k_dbg(ar, ATH10K_DBG_MAC, "mac vdev %d recalc rts/cts prot %d\n", + arvif->vdev_id, rts_cts); + return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, rts_cts); }