mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacmn: ensure dynamic ce_count < CE_COUNT_MAX
This ensures scn->ce_count is less than CE_COUNT_MAX without having to check all the constants it could be initialized to based on device type. Change-Id: I8482b5d7c455366d69dcda2b13785b305f192b3f CRs-Fixed: 2128347
This commit is contained in:
parent
a5685dec52
commit
c80eea7fcc
1 changed files with 1 additions and 0 deletions
|
|
@ -2346,6 +2346,7 @@ void hif_ce_prepare_config(struct hif_softc *scn)
|
|||
scn->ce_count = QCA_6290_CE_COUNT;
|
||||
break;
|
||||
}
|
||||
QDF_BUG(scn->ce_count <= CE_COUNT_MAX);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue