mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
qcacmn: Remove phyerr filter offload check
Currently if ini config dfsPhyerrFilterOffload is set zero on Rome attached Platform, wlan interface will fail when do interface up. This makes no sense, since ini configure can be set to zero, also in this case host can handle the phyerr event instead. Remove this check in target_if_reg_phyerr_events_dfs2. Change-Id: Ie33072c8d40925eb550bd820462fc9ab93f0e0c0 CRs-Fixed: 2286382
This commit is contained in:
parent
4ac64a95c6
commit
c2241bc64f
1 changed files with 4 additions and 15 deletions
|
|
@ -164,22 +164,11 @@ static int target_if_radar_event_handler(
|
|||
static QDF_STATUS target_if_reg_phyerr_events_dfs2(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
int ret = -1;
|
||||
struct wlan_lmac_if_dfs_rx_ops *dfs_rx_ops;
|
||||
bool is_phyerr_filter_offload;
|
||||
|
||||
dfs_rx_ops = target_if_dfs_get_rx_ops(psoc);
|
||||
|
||||
if (dfs_rx_ops && dfs_rx_ops->dfs_is_phyerr_filter_offload)
|
||||
if (QDF_IS_STATUS_SUCCESS(
|
||||
dfs_rx_ops->dfs_is_phyerr_filter_offload(psoc,
|
||||
&is_phyerr_filter_offload)))
|
||||
if (is_phyerr_filter_offload)
|
||||
ret = wmi_unified_register_event(
|
||||
get_wmi_unified_hdl_from_psoc(psoc),
|
||||
wmi_dfs_radar_event_id,
|
||||
target_if_radar_event_handler);
|
||||
int ret;
|
||||
|
||||
ret = wmi_unified_register_event(get_wmi_unified_hdl_from_psoc(psoc),
|
||||
wmi_dfs_radar_event_id,
|
||||
target_if_radar_event_handler);
|
||||
if (ret) {
|
||||
target_if_err("failed to register wmi_dfs_radar_event_id");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue