Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eea57d42 authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by Johannes Berg
Browse files

mac80211: Use appropriate debug wrapper



ieee80211_sta_expire will be called by both IBSS and mesh
interfaces to account for inactive stations, so it would be more
appropriate to use sta_dbg instead of ibss_dbg.

Signed-off-by: default avatarMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6b8ece3a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -893,7 +893,7 @@ void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata,
			continue;

		if (time_after(jiffies, sta->last_rx + exp_time)) {
			ibss_dbg(sdata, "expiring inactive STA %pM\n",
			sta_dbg(sta->sdata, "expiring inactive STA %pM\n",
				sta->sta.addr);
			WARN_ON(__sta_info_destroy(sta));
		}