summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib_softmac_wx.c
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2023-05-18 18:32:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-28 10:12:12 +0100
commit8942c3f19b3f6cbe5b74ee610d6b5e3ec1ec13fa (patch)
tree49fce3e8153ccb54e43905ca5b7d44260babbb65 /drivers/staging/rtl8192e/rtllib_softmac_wx.c
parent2305232c94d2fcefa9e26ba68af73586508ba555 (diff)
staging: rtl8192e: add missing spaces around operators
Add missing spaces around operators to improve readability and clear checkpatch issues. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20230518163201.14463-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac_wx.c')
-rw-r--r--drivers/staging/rtl8192e/rtllib_softmac_wx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac_wx.c b/drivers/staging/rtl8192e/rtllib_softmac_wx.c
index e93da95f175b..d85a32d2d050 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac_wx.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac_wx.c
@@ -92,7 +92,7 @@ int rtllib_wx_get_freq(struct rtllib_device *ieee,
if (ieee->current_network.channel == 0)
return -1;
- fwrq->m = rtllib_wlan_frequencies[ieee->current_network.channel-1] *
+ fwrq->m = rtllib_wlan_frequencies[ieee->current_network.channel - 1] *
100000;
fwrq->e = 1;
return 0;
@@ -231,7 +231,7 @@ int rtllib_wx_set_rate(struct rtllib_device *ieee,
u32 target_rate = wrqu->bitrate.value;
- ieee->rate = target_rate/100000;
+ ieee->rate = target_rate / 100000;
return 0;
}
EXPORT_SYMBOL(rtllib_wx_set_rate);