mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Fix build errors generated by gcc 6
Gcc 6 introduces some stricter checking for bool value comparison, causing build errors when a certain code block in CLD3.x driver is compiled. Change-Id: I270e20dab8410f45e734c15d5365e30e314b55c8 CRs-Fixed: 2051383
This commit is contained in:
parent
0b1c4d22bb
commit
6211cb6b56
1 changed files with 0 additions and 7 deletions
|
|
@ -1359,13 +1359,6 @@ int dbglog_report_enable(wmi_unified_t wmi_handle, bool isenable)
|
|||
{
|
||||
int bitmap[2] = { 0 };
|
||||
|
||||
if (isenable > true) {
|
||||
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,
|
||||
("dbglog_report_enable:Invalid value %d\n",
|
||||
isenable));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (isenable) {
|
||||
/* set the vap enable bitmap */
|
||||
dbglog_set_vap_enable_bitmap(wmi_handle, 0xFFFF);
|
||||
|
|
|
|||
Loading…
Reference in a new issue