| Submitter | Johannes Berg |
|---|---|
| Date | Dec. 5, 2011, 1:42 p.m. |
| Message ID | <1323092522.4051.36.camel@jlt3.sipsolutions.net> |
| Download | mbox | patch |
| Permalink | /patch/129286/ |
| State | Superseded |
| Headers | show |
Comments
Patch
--- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -5602,6 +5602,13 @@ static int nl80211_setup_ap(struct i802_bss *bss) { struct wpa_driver_nl80211_data *drv = bss->drv; + /* + * Disable probe request reporting unless we may need it, + * we'll enable it through the nl_mgmt socket instead. + */ + if (!drv->device_ap_sme) + wpa_driver_nl80211_probe_req_report(bss, 0); + if (!drv->device_ap_sme && !drv->use_monitor) if (nl80211_mgmt_subscribe_ap(bss)) return -1;