ath10k: improve logging message
authorBen Greear <greearb@candelatech.com>
Fri, 19 Aug 2016 01:26:35 +0000 (18:26 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Sep 2016 12:28:43 +0000 (15:28 +0300)
Helps to know the sta pointer.

Signed-off-by: Ben Greear <greearb@candelatech.com>
[kvalo@qca.qualcomm.com: add %pK and remove the colon]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c

index c4d965fe990e310b07e98f06920fff0b753abd61..0a44dab5a287f3d7688f47561ea616efa998ea20 100644 (file)
@@ -6022,8 +6022,8 @@ static int ath10k_sta_state(struct ieee80211_hw *hw,
                 * Existing station deletion.
                 */
                ath10k_dbg(ar, ATH10K_DBG_MAC,
-                          "mac vdev %d peer delete %pM (sta gone)\n",
-                          arvif->vdev_id, sta->addr);
+                          "mac vdev %d peer delete %pM sta %pK (sta gone)\n",
+                          arvif->vdev_id, sta->addr, sta);
 
                ret = ath10k_peer_delete(ar, arvif->vdev_id, sta->addr);
                if (ret)