From c050f8204a271c269a73b3cde07f34f3d8e89fd5 Mon Sep 17 00:00:00 2001 From: "raj.chandra" Date: Mon, 24 Jul 2017 11:03:22 +0530 Subject: [PATCH] [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 --- drivers/net/wireless/scsc/mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1