From f573e06d0e4744da518f36714039e4906a42e6a5 Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Tue, 16 Apr 2019 17:17:40 +0530 Subject: [PATCH] qcacld-3.0: Register the wext handlers for ftm mode Presently the wext handlers are not getting registered for the ftm mode resulting in the error when the ftm specific commands are issued. Register the wext ioctls when the interface up is received on the ftm mode. Change-Id: I50ae011012cd1d667e69d1d84f62c14fa253111a CRs-Fixed: 2436937 --- core/hdd/src/wlan_hdd_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 966c9f68bc14..69b87f072077 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -2328,6 +2328,7 @@ int hdd_start_adapter(struct hdd_adapter *adapter) goto exit_with_success; case QDF_FTM_MODE: /* vdevs are dynamically managed by firmware in FTM */ + hdd_register_wext(adapter->dev); goto exit_with_success; default: hdd_err("Invalid session type %d", device_mode);