qcacld-3.0: Revert "Do not enable the pktlog when interface is up"
By default pktlog needs to be enabled during driver load. To enable/disable pktlog use INI parameter. This reverts Change-Id: Ie03a7e0a77bc5f525ad7ae74bb104a6d1bf21eb7 Change-Id: I8f74b4bcebfb8b4a35a29e321b2b6bd5e1920bf7 CRs-Fixed: 2296335
This commit is contained in:
@@ -10474,7 +10474,8 @@ static int hdd_features_init(struct hdd_context *hdd_ctx)
|
|||||||
if (cds_is_driver_recovering()) {
|
if (cds_is_driver_recovering()) {
|
||||||
if (hdd_ctx->is_pktlog_enabled)
|
if (hdd_ctx->is_pktlog_enabled)
|
||||||
hdd_pktlog_enable_disable(hdd_ctx, true, 0, 0);
|
hdd_pktlog_enable_disable(hdd_ctx, true, 0, 0);
|
||||||
}
|
} else if (cds_is_packet_log_enabled())
|
||||||
|
hdd_pktlog_enable_disable(hdd_ctx, true, 0, 0);
|
||||||
|
|
||||||
hddtxlimit.txPower2g = hdd_ctx->config->TxPower2g;
|
hddtxlimit.txPower2g = hdd_ctx->config->TxPower2g;
|
||||||
hddtxlimit.txPower5g = hdd_ctx->config->TxPower5g;
|
hddtxlimit.txPower5g = hdd_ctx->config->TxPower5g;
|
||||||
|
Reference in New Issue
Block a user