[9610][7885][7872][7570] wlbt: Correction to host configuration of ctwindow
authorraj.chandra <raj.chandra@samsung.com>
Mon, 24 Jul 2017 05:33:22 +0000 (11:03 +0530)
committerIvan Priest <i.priest@samsung.com>
Wed, 11 Jul 2018 17:43:31 +0000 (18:43 +0100)
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 <raj.chandra@samsung.com>
drivers/net/wireless/scsc/mlme.c

index 07ed3fa5ffe81ef4e19962ce337e83060482ce98..64f3b4d307052a683edee3908849f8c59005c3bf 100755 (executable)
@@ -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)