提交 eea57d42 编写于 作者: M Mohammed Shafi Shajakhan 提交者: Johannes Berg

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: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 6b8ece3a
......@@ -893,8 +893,8 @@ 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->sta.addr);
sta_dbg(sta->sdata, "expiring inactive STA %pM\n",
sta->sta.addr);
WARN_ON(__sta_info_destroy(sta));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册