diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-10-08 20:03:47 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 13:02:12 +0400 |
commit | eea57d42fb148a078ebc2f54731b580fb9edeaf7 (patch) | |
tree | de0f982612502b8840fe9cf0ed6757cd6adb61bd /net/mac80211 | |
parent | 6b8ece3a7031523a05a535761108775b1b67d272 (diff) | |
download | linux-eea57d42fb148a078ebc2f54731b580fb9edeaf7.tar.xz |
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: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/sta_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index fa639f41aa5b..d5a5d62b6b0c 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -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)); } } |