diff options
| author | kaliu <kaliu@qti.qualcomm.com> | 2016-04-13 14:22:57 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-04-17 21:52:35 +0530 |
| commit | 0e2f47e789868f203000a8e1a548cd9828754a84 (patch) | |
| tree | 4cbb001620bc3bad49160ab02e3cc0080b4bbd77 | |
| parent | da61893df530982604f7855d661c3e181a72b8c5 (diff) | |
Revert "qcacld-2.0: check whether param "extra" of __iw_get_scan is valid"
This reverts commit 635ddd2f13e442792ae9242ae1ba632a65efcb19.
Kernel will check whether this param is valid, so no need check
in driver side.
Change-Id: I16c4f809b37e003516af43255734c6cfbe10a0cb
CRs-Fixed: 1002744
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_scan.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/CORE/HDD/src/wlan_hdd_scan.c b/CORE/HDD/src/wlan_hdd_scan.c index e05b73302348..83d8871b7a72 100644 --- a/CORE/HDD/src/wlan_hdd_scan.c +++ b/CORE/HDD/src/wlan_hdd_scan.c @@ -796,12 +796,6 @@ static int __iw_get_scan(struct net_device *dev, ENTER(); - if (NULL == extra) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL, - "%s: NULL extra", __func__); - return -EINVAL; - } - hdd_ctx = WLAN_HDD_GET_CTX(pAdapter); ret = wlan_hdd_validate_context(hdd_ctx); if (0 != ret) |
