aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorFabian Wolff <fabian.wolff@fau.de>2017-06-13 23:01:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-14 12:26:42 +0200
commita7941a08518959e07bdf6de8dc1c5dcd365fcaca (patch)
treefe536e132adf8dd57913f42b823241f261d0d229 /drivers/staging/rtl8723bs
parentstaging: wlan-ng: prism2mib.c: Fix type cast issues (diff)
downloadlinux-dev-a7941a08518959e07bdf6de8dc1c5dcd365fcaca.tar.xz
linux-dev-a7941a08518959e07bdf6de8dc1c5dcd365fcaca.zip
staging: rtl8723bs: wifi_regd.c: put spaces around binary operators
This patch adds spaces around the binary operators '-' and '+'. Signed-off-by: Fabian Wolff <fabian.wolff@fau.de> Signed-off-by: Mate Horvath <horvatmate@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r--drivers/staging/rtl8723bs/os_dep/wifi_regd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
index 115ba661d028..5bcf968702f6 100644
--- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
+++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
@@ -20,7 +20,7 @@
/* 2G chan 01 - chan 11 */
#define RTW_2GHZ_CH01_11 \
- REG_RULE(2412-10, 2462+10, 40, 0, 20, 0)
+ REG_RULE(2412 - 10, 2462 + 10, 40, 0, 20, 0)
/*
*We enable active scan on these a case
@@ -29,12 +29,12 @@
/* 2G chan 12 - chan 13, PASSIV SCAN */
#define RTW_2GHZ_CH12_13 \
- REG_RULE(2467-10, 2472+10, 40, 0, 20, \
+ REG_RULE(2467 - 10, 2472 + 10, 40, 0, 20, \
NL80211_RRF_PASSIVE_SCAN)
/* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */
#define RTW_2GHZ_CH14 \
- REG_RULE(2484-10, 2484+10, 40, 0, 20, \
+ REG_RULE(2484 - 10, 2484 + 10, 40, 0, 20, \
NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM)
static const struct ieee80211_regdomain rtw_regdom_rd = {