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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user