mac80211: do not call ieee80211_configure_filter if no interfaces are up
authorFelix Fietkau <nbd@openwrt.org>
Wed, 31 Oct 2012 14:50:34 +0000 (15:50 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Oct 2012 15:53:34 +0000 (16:53 +0100)
commit35f5149ead73e8e635b417b6c3aece43ffdfe5bc
tree867ed237462ad278c615eff27423a78d39c57205
parent6dbda2d00d466225f9db1dc695ff852443f28832
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 <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c