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