mac80211: do not call ieee80211_configure_filter if no interfaces are up
PATCH 1/1 mac80211: do not call ieee80211_configure_filter if no interfaces are up
Drivers are not expected to handle it before drv_start has been called. It will be called again after an interface has been brought up.
Signed-off-by Felix Fietkau <[email protected]>
--- net/mac80211/cfg.c | 3 +++ 1 file changed, 3 insertions(+)
net/mac80211/cfg.c +3 -0
@@ -2613,6 +2613,9 @@ static void ieee80211_mgmt_frame_register(struct wiphy *wiphy,else local->probe_req_reg--; +if (!local->open_count) +break ; +ieee80211_queue_work (&local->hw, &local->reconfig_filter);break ;default :
Signature · 1 line
1.7.12.2
Quoted 2 lines · Felix Fietkau
Drivers are not expected to handle it before
drv_starthas been called. It will be called again after an interface has been brought up.
Applied, thanks.
johannes