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
This commit is contained in:
Arun Kumar Khandavalli 2019-04-16 17:17:40 +05:30 • committed by nshrivas
commit f573e06d0e

View file

@ -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);