diff options
-rw-r--r-- | net/mac80211/ibss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index ca8ecce31d34..6ae288387a11 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -453,6 +453,10 @@ static void ieee80211_sta_merge_ibss(struct ieee80211_sub_if_data *sdata) | |||
453 | 453 | ||
454 | ieee80211_sta_expire(sdata, IEEE80211_IBSS_INACTIVITY_LIMIT); | 454 | ieee80211_sta_expire(sdata, IEEE80211_IBSS_INACTIVITY_LIMIT); |
455 | 455 | ||
456 | if (time_before(jiffies, ifibss->last_scan_completed + | ||
457 | IEEE80211_IBSS_MERGE_INTERVAL)) | ||
458 | return; | ||
459 | |||
456 | if (ieee80211_sta_active_ibss(sdata)) | 460 | if (ieee80211_sta_active_ibss(sdata)) |
457 | return; | 461 | return; |
458 | 462 | ||