mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Log optimization of hdd_validate_context
Limit logs in hdd context validation during SSR and Load/unload. Change-Id: I89cd609309b40dcb57a05cf72fae8690ab00db58 CRs-Fixed: 2640760
This commit is contained in:
parent
30f2b7e243
commit
ead166aef9
1 changed files with 4 additions and 4 deletions
|
|
@ -948,15 +948,15 @@ static void __hdd_hard_start_xmit(struct sk_buff *skb,
|
|||
|
||||
if (cds_is_driver_recovering() || cds_is_driver_in_bad_state() ||
|
||||
cds_is_load_or_unload_in_progress()) {
|
||||
QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"Recovery/(Un)load in progress, dropping the packet");
|
||||
QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_HDD_DATA,
|
||||
"Recovery/(Un)load in progress, dropping the packet");
|
||||
goto drop_pkt;
|
||||
}
|
||||
|
||||
hdd_ctx = adapter->hdd_ctx;
|
||||
if (wlan_hdd_validate_context(hdd_ctx)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_HDD_DATA, QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"Invalid HDD context");
|
||||
QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_HDD_DATA,
|
||||
"Invalid HDD context");
|
||||
goto drop_pkt;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue