qcacmn: dump reo ring when flush cache failed
When delete peer, host will try to flush all frames in REO queue by sending a cmd through reo ring, but sometimes encounted failure to send this cmd, dump ring status if ecountered above failure. Change-Id: I3ea4e96e5999f85398b531ddf4f350e91e798d70 CRs-Fixed: 2167419
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2018 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
|
||||
@@ -192,6 +192,7 @@ inline int hal_reo_cmd_flush_cache(void *reo_ring, struct hal_soc *soc,
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s: Out of cmd ring entries\n", __func__);
|
||||
hal_srng_access_end(soc, reo_ring);
|
||||
hal_srng_dump(reo_ring);
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user