summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00config.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2010-11-06 15:46:17 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 19:26:24 +0100
commit8a239033c355be998b8985f12f0cc3a9eaeb93e9 (patch)
treeab6ef5704d5978b7e5d85852ea1a6eaae65d4a43 /drivers/net/wireless/rt2x00/rt2x00config.c
parentrt2x00: checkpatch.pl error fixes for rt2800usb.h (diff)
downloadlinux-8a239033c355be998b8985f12f0cc3a9eaeb93e9.tar.xz
linux-8a239033c355be998b8985f12f0cc3a9eaeb93e9.zip
rt2x00: checkpatch.pl error fixes for rt2x00config.c
rt2x00config.c:136: ERROR: space required before the open parenthesis '(' Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00config.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c
index 54ffb5aeb34e..fca8f22896a5 100644
--- a/drivers/net/wireless/rt2x00/rt2x00config.c
+++ b/drivers/net/wireless/rt2x00/rt2x00config.c
@@ -133,7 +133,7 @@ void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev,
*/
if (!(ant->flags & ANTENNA_RX_DIVERSITY))
config.rx = rt2x00lib_config_antenna_check(config.rx, def->rx);
- else if(config.rx == ANTENNA_SW_DIVERSITY)
+ else if (config.rx == ANTENNA_SW_DIVERSITY)
config.rx = active->rx;
if (!(ant->flags & ANTENNA_TX_DIVERSITY))