[PATCH 2/2] supplicant: disable probe request reporting for static AP during deinit
Avinash Patil
avinashapatil
Tue Aug 5 00:20:53 PDT 2014
Disable probe request reporting for statically created AP interfaces
during de-initialization.
We will again enable it while starting AP operations.
Signed-off-by: Avinash Patil <avinashapatil at gmail.com>
---
src/drivers/driver_nl80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 0c8717f..5d31018 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -10507,7 +10507,7 @@ 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)) {
+ is_ap_interface(drv->nlmode) && !bss->static_ap) {
/*
* Do not disable Probe Request reporting that was
* enabled in nl80211_setup_ap().
--
1.8.1.4
More information about the Hostap
mailing list