diff options
| author | Randy Chiu <wchiu@qca.qualcomm.com> | 2014-12-10 16:22:53 +0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2015-01-07 14:20:13 +0530 |
| commit | 6bf8abb034b64cf0f9f55dfbadf1a8b5062ac47e (patch) | |
| tree | c972446f27221300273e70ba92bcfec88b101845 | |
| parent | c7065a593004ba7d13e7ea71eeaca6d31f806d12 (diff) | |
qcacld: Fix compile error on 3rd party platform
Add CONFIG_WEXT_SPY definition check when refering iw_handler_set_spy,
iw_handler_get_spy,iw_handler_set_thrspy and iw_handler_get_thrspy.
Change-Id: I7dc7b5efe004f42cc96feb6506b868234d1c6e4d
CRs-Fixed: 768949
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_wext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c index be434a43f056..84a2e998e023 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -9956,10 +9956,12 @@ static const iw_handler we_handler[] = (iw_handler) NULL, /* SIOCGIWPRIV */ (iw_handler) NULL, /* SIOCSIWSTATS */ (iw_handler) NULL, /* SIOCGIWSTATS */ +#ifdef CONFIG_WEXT_SPY iw_handler_set_spy, /* SIOCSIWSPY */ iw_handler_get_spy, /* SIOCGIWSPY */ iw_handler_set_thrspy, /* SIOCSIWTHRSPY */ iw_handler_get_thrspy, /* SIOCGIWTHRSPY */ +#endif (iw_handler) iw_set_ap_address, /* SIOCSIWAP */ (iw_handler) iw_get_ap_address, /* SIOCGIWAP */ (iw_handler) iw_set_mlme, /* SIOCSIWMLME */ |
