Do not run a full scan in gas_generic since this is not really needed.
Dump pending event messages after long wait to make logs clearer.
Signed-hostap: Jouni Malinen <j@w1.fi>
params['hessid'] = bssid
hostapd.add_ap(apdev[0]['ifname'], params)
- dev[0].scan()
+ dev[0].scan(freq="2412")
req = dev[0].request("GAS_REQUEST " + bssid + " 00 000102000101")
if "FAIL" in req:
raise Exception("GAS query request rejected")
logger.debug("Wait six seconds for expiration of connect-without-scan")
time.sleep(6)
+ dev[0].dump_monitor()
logger.debug("Start concurrent GAS request and connect")
req = dev[0].request("GAS_REQUEST " + bssid + " 00 000102000101")