]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6656: iwctl: one statement per line (if)
authorJesper Juhl <jj@chaosbits.net>
Sun, 24 Jun 2012 23:57:32 +0000 (01:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jun 2012 18:20:36 +0000 (11:20 -0700)
Statement following 'if' should be on its own line.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/iwctl.c

index c639a3c9030fe3465599e43b114a7c3b962f48eb..dd3c1aca16df15cbbe9525eda090cabd087eeaef 100644 (file)
@@ -235,7 +235,8 @@ int iwctl_giwscan(struct net_device *dev, struct iw_request_info *info,
                        current_ev = iwe_stream_add_event(info,current_ev,end_buf, &iwe, IW_EV_FREQ_LEN);
                        {
                                int f = (int)pBSS->uChannel - 1;
-                               if (f < 0)f = 0;
+                               if (f < 0)
+                                       f = 0;
                                iwe.u.freq.m = frequency_list[f] * 100000;
                                iwe.u.freq.e = 1;
                        }