Message ID | 81f3eeda-0888-2869-659e-dc38c0a9debf@I-love.SAKURA.ne.jp |
---|---|
State | New |
Headers | show |
Series | wifi: mac80211: initialize fq.lock as early as possible | expand |
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 5a385d4146b9..584e98300bbf 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -642,6 +642,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, wiphy->bss_priv_size = sizeof(struct ieee80211_bss); local = wiphy_priv(wiphy); + spin_lock_init(&local->fq.lock); if (sta_info_init(local)) goto err_free;