diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 6eab63388c649d2253ef4f62c9ab80ab7cf0775c..4b503ce893d8d787c306a47247765ce45074dba4 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2977,7 +2977,7 @@ void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata) /* scan finished notification */ void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local) { - struct ieee80211_sub_if_data *sdata = local->scan_sdata; + struct ieee80211_sub_if_data *sdata; /* Restart STA timers */ rcu_read_lock();