From 5b98d48eda3cbc408c361b4aa81a3c8575e4ba69 Mon Sep 17 00:00:00 2001 From: Rongjun Chen Date: Fri, 15 Dec 2017 16:17:43 +0800 Subject: [PATCH] wifi: fix bcmdhd-usb.1.363.110.17.x make fail issue Change-Id: I92a372340ad47f7b300c47047f5ce2ccdc0d80f2 --- bcmdhd-usb.1.363.110.17.x/wl_iw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bcmdhd-usb.1.363.110.17.x/wl_iw.c b/bcmdhd-usb.1.363.110.17.x/wl_iw.c index bb3dda6..1fa3b90 100644 --- a/bcmdhd-usb.1.363.110.17.x/wl_iw.c +++ b/bcmdhd-usb.1.363.110.17.x/wl_iw.c @@ -608,9 +608,9 @@ wl_iw_set_freq( fwrq->m /= 10; } /* handle 4.9GHz frequencies as Japan 4 GHz based channelization */ - if (fwrq->m > 4000 && fwrq->m < 5000) - sf = WF_CHAN_FACTOR_4_G; /* start factor for 4 GHz */ - + if (fwrq->m > 4000 && fwrq->m < 5000) { + sf = WF_CHAN_FACTOR_4_G; /* start factor for 4 GHz */ + } chan = wf_mhz2channel(fwrq->m, sf); } WL_ERROR(("%s: chan=%d\n", __FUNCTION__, chan)); -- 2.20.1