qcacmn: Add protection while accessing cfr lookup table
Protect access to cfr lookup table, since error handling mechanism attempts to cleanup CFR entries in timer context, this leads to contention between bottom-half and timer. Change-Id: I6a414e0da883250a90451824367c12fcca33c27e
这个提交包含在:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2020 The Linux Foundation. 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
|
||||
@@ -495,6 +495,7 @@ struct pdev_cfr {
|
||||
uint64_t cfr_dma_aborts;
|
||||
#endif
|
||||
struct unassoc_pool_entry unassoc_pool[MAX_CFR_ENABLED_CLIENTS];
|
||||
qdf_spinlock_t lut_lock;
|
||||
};
|
||||
|
||||
#define PEER_CFR_CAPTURE_ENABLE 1
|
||||
|
在新工单中引用
屏蔽一个用户