diff options
| author | Randy Chiu <wchiu@qca.qualcomm.com> | 2015-01-21 10:31:56 +0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2015-01-28 14:44:19 +0530 |
| commit | 8b1a8b0531b9b53605af9e80d5bf4466ded7b8d3 (patch) | |
| tree | db96b9ed7c25bbc77738cebc415e8f73da39a8c5 | |
| parent | 779a5858edd00c0f64f42441eedde81170d67872 (diff) | |
qcacld: Fix the wrong function offset for CONFIG_WEXT_SPY undefined
Add NULL function for CONFIG_WEXT_SPY undefined to avoid the wrong
function offset problem.
Change-Id: If3c86abf43c25bb314f10b39ec059fba26b101d3
CRs-Fixed: 784266
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_wext.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c index 7496da93b0be..02b5784a3879 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -9840,6 +9840,11 @@ static const iw_handler we_handler[] = iw_handler_get_spy, /* SIOCGIWSPY */ iw_handler_set_thrspy, /* SIOCSIWTHRSPY */ iw_handler_get_thrspy, /* SIOCGIWTHRSPY */ +#else + (iw_handler) NULL, /* SIOCSIWSPY */ + (iw_handler) NULL, /* SIOCGIWSPY */ + (iw_handler) NULL, /* SIOCSIWTHRSPY */ + (iw_handler) NULL, /* SIOCGIWTHRSPY */ #endif (iw_handler) iw_set_ap_address, /* SIOCSIWAP */ (iw_handler) iw_get_ap_address, /* SIOCGIWAP */ |
