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:
wadesong
2017-07-15 10:47:09 +08:00
committed by snandini
부모 0b1c4d22bb
커밋 6211cb6b56

파일 보기

@@ -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);