mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacld-3.0: Don't enable packet log in Monitor mode
Packet log and Monitor mode features cannot coexist, since both share common ring resources concurrent access is not expected. so don't enable packet log when device is in monitor mode. Change-Id: Ibb3ed6dc36e5797c654c37fc567eb89bdaa1ea39 CRs-Fixed: 2745973
This commit is contained in:
parent
409ca57191
commit
ee554d2e11
1 changed files with 3 additions and 2 deletions
|
|
@ -12968,8 +12968,9 @@ static int hdd_features_init(struct hdd_context *hdd_ctx)
|
|||
* hdd_features_deinit if pktlog is enabled in ini.
|
||||
* Re-enable pktlog in SSR case, if pktlog is enabled in ini.
|
||||
*/
|
||||
if (cds_is_packet_log_enabled() ||
|
||||
(cds_is_driver_recovering() && hdd_ctx->is_pktlog_enabled))
|
||||
if (hdd_get_conparam() != QDF_GLOBAL_MONITOR_MODE &&
|
||||
(cds_is_packet_log_enabled() ||
|
||||
(cds_is_driver_recovering() && hdd_ctx->is_pktlog_enabled)))
|
||||
hdd_pktlog_enable_disable(hdd_ctx, true, 0, 0);
|
||||
|
||||
hddtxlimit.txPower2g = ucfg_get_tx_power(hdd_ctx->psoc, BAND_2G);
|
||||
|
|
|
|||
Loading…
Reference in a new issue