qcacld-3.0: Do not allow interop issues ap in FTM mode
Interop issues ap sends vendor event to user space, in FTM mode vendor events are not initialized which leads to undefined behavior in kernel if try to send a vendor event if vendor events are not initialized. To address this issue, do not allow interop issues ap operation in FTM mode. Change-Id: I525dc5ed20a3e615383c535ef65ac7908ede75d4 CRs-Fixed: 3098426
Цей коміт міститься в:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -254,6 +255,11 @@ void wlan_cfg80211_init_interop_issues_ap(struct wlan_objmgr_pdev *pdev)
|
||||
struct wlan_interop_issues_ap_event data;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
|
||||
if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam()) {
|
||||
hdd_err("Operation not supported in FTM mode");
|
||||
return;
|
||||
}
|
||||
|
||||
wlan_interop_issues_ap_register_cbk(pdev);
|
||||
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
|
Посилання в новій задачі
Заблокувати користувача