From: raj.chandra Date: Mon, 24 Jul 2017 05:33:22 +0000 (+0530) Subject: [9610][7885][7872][7570] wlbt: Correction to host configuration of ctwindow X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c050f8204a271c269a73b3cde07f34f3d8e89fd5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610][7885][7872][7570] wlbt: Correction to host configuration of ctwindow Driver converts ctwindow from msec to TU on the FAPI interface. This is not required as configuration received in driver is in TU. Hence reverting conversion. SCSC-Bug-Id: SSB-30843 Change-Id: Iff3ef5138839cb65c579a94bfdf4c94d31812f5b Signed-off-by: raj.chandra --- diff --git a/drivers/net/wireless/scsc/mlme.c b/drivers/net/wireless/scsc/mlme.c index 07ed3fa5ffe8..64f3b4d30705 100755 --- a/drivers/net/wireless/scsc/mlme.c +++ b/drivers/net/wireless/scsc/mlme.c @@ -3927,7 +3927,7 @@ int slsi_mlme_set_ctwindow(struct slsi_dev *sdev, struct net_device *dev, unsign if (!req) return -ENOMEM; - fapi_set_u16(req, u.mlme_set_ctwindow_req.ctwindow, ((ct_param * 1000) / 1024)); + fapi_set_u16(req, u.mlme_set_ctwindow_req.ctwindow, ct_param); cfm = slsi_mlme_req_cfm(sdev, dev, req, MLME_SET_CTWINDOW_CFM); if (!cfm)