mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Fix buffer alignment check in target_if_dbr_replenish_ring
target_if_dbr_replenish_ring should check the mapped physical address for agreed byte boundary alignment. Fix the logic in the check. Change-Id: I05058ae69df8a2ee2caf9ce1295c0a2e9026511c CRs-Fixed: 2283230
This commit is contained in:
parent
9f8db12851
commit
0baf52bdf7
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ static QDF_STATUS target_if_dbr_replenish_ring(struct wlan_objmgr_pdev *pdev,
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
QDF_ASSERT(!((uint64_t)paddr & dbr_ring_cap->min_buf_align));
|
||||
QDF_ASSERT(!((uint64_t)paddr % dbr_ring_cap->min_buf_align));
|
||||
dbr_buf_pool[cookie].paddr = paddr;
|
||||
|
||||
hal_srng_access_start(hal_soc, srng);
|
||||
|
|
|
|||
Loading…
Reference in a new issue