Add Extended Capabilities element to all Probe Request frames
authorIlan Peer <ilan.peer@intel.com>
Mon, 16 Mar 2015 05:20:48 +0000 (01:20 -0400)
committerJouni Malinen <j@w1.fi>
Sun, 22 Mar 2015 19:48:38 +0000 (21:48 +0200)
commitad4430971fb90cffe31c872e0e0e6cc8781048be
treec6b6a6320f3abd375d3016994aa9b46fff7818ca
parenta539d3f71f5f987eaa09a0502f601bfae603f941
Add Extended Capabilities element to all Probe Request frames

Always add the Extended Capabilities element to Probe Request frames (in
case it is not all zeros) to publish support for driver advertised
capabilities and wpa_supplicant specific capabilities.

This also fixes the case where Extended Capabilities element was added
for Interworking cases, but did not use the driver advertised ones and
did not handle other capabilities supported by wpa_supplicant.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/scan.c