From: Avinash Patil Date: Tue, 5 Aug 2014 07:20:53 +0000 (+0530) Subject: nl80211: Disable Probe Request reporting for static AP during deinit X-Git-Tag: hostap_2_3~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d87ed296fa30116665bf99242304635745f01c;p=thirdparty%2Fhostap.git nl80211: Disable Probe Request reporting for static AP during deinit Disable Probe Request reporting for statically created AP interfaces during de-initialization. We will enable it again while starting AP operations. Signed-off-by: Avinash Patil --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 66d75b2dc..8ebf7d9cb 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -10570,7 +10570,8 @@ static int wpa_driver_nl80211_probe_req_report(struct i802_bss *bss, int report) if (!report) { if (bss->nl_preq && drv->device_ap_sme && - is_ap_interface(drv->nlmode) && !bss->in_deinit) { + is_ap_interface(drv->nlmode) && !bss->in_deinit && + !bss->static_ap) { /* * Do not disable Probe Request reporting that was * enabled in nl80211_setup_ap().