From: Kanchanapally, Vidyullatha Date: Wed, 4 Jan 2017 13:30:00 +0000 (+0530) Subject: nl80211: Use correct attribute for scan flags in vendor scan X-Git-Tag: hostap_2_7~1824 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39c5da3284075e5fb5fc5cd2190f3f636c5545df;p=thirdparty%2Fhostap.git nl80211: Use correct attribute for scan flags in vendor scan This fixes the netlink attribute identifier for the scan flags when using QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN. Signed-off-by: Jouni Malinen --- diff --git a/src/drivers/driver_nl80211_scan.c b/src/drivers/driver_nl80211_scan.c index 3ad0d83c6..7dcfae28e 100644 --- a/src/drivers/driver_nl80211_scan.c +++ b/src/drivers/driver_nl80211_scan.c @@ -1096,7 +1096,7 @@ int wpa_driver_nl80211_vendor_scan(struct i802_bss *bss, } if (scan_flags && - nla_put_u32(msg, NL80211_ATTR_SCAN_FLAGS, scan_flags)) + nla_put_u32(msg, QCA_WLAN_VENDOR_ATTR_SCAN_FLAGS, scan_flags)) goto fail; if (params->p2p_probe) {