diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 919c6128d..a137ba293 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -11506,6 +11506,10 @@ static int nl80211_configure_data_frame_filters(void *priv, u32 filter_flags) char path[128]; int ret; + /* P2P-Device has no netdev that can (or should) be configured here */ + if (nl80211_get_ifmode(bss) == NL80211_IFTYPE_P2P_DEVICE) + return 0; + wpa_printf(MSG_DEBUG, "nl80211: Data frame filter flags=0x%x", filter_flags);