]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
rt2x00: checkpatch.pl error fixes for rt2x00config.c
authorMark Einon <mark.einon@gmail.com>
Sat, 6 Nov 2010 14:46:17 +0000 (15:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:24 +0000 (13:26 -0500)
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>
drivers/net/wireless/rt2x00/rt2x00config.c

index 54ffb5aeb34e4b808f1a94bcf8e6de7463883893..fca8f22896a57d235554e828f9867b24e1baa004 100644 (file)
@@ -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))