ath10k: add debug trace to rts/cts set function
authorBartosz Markowski <bartosz.markowski@tieto.com>
Thu, 15 Dec 2016 09:23:24 +0000 (11:23 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Dec 2016 13:17:43 +0000 (15:17 +0200)
Align it with the cts protection call.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c

index 56f557e899121508d032a4b5bca0a172412f8615..12a5fccf04cfef0ed29b8d694036423cd50f4835 100644 (file)
@@ -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);
 }