diff options
-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, | |||
893 | continue; | 893 | continue; |
894 | 894 | ||
895 | if (time_after(jiffies, sta->last_rx + exp_time)) { | 895 | if (time_after(jiffies, sta->last_rx + exp_time)) { |
896 | ibss_dbg(sdata, "expiring inactive STA %pM\n", | 896 | sta_dbg(sta->sdata, "expiring inactive STA %pM\n", |
897 | sta->sta.addr); | 897 | sta->sta.addr); |
898 | WARN_ON(__sta_info_destroy(sta)); | 898 | WARN_ON(__sta_info_destroy(sta)); |
899 | } | 899 | } |
900 | } | 900 | } |