Messages in this thread Patch in this message | | | Date | Mon, 25 Jun 2012 01:57:32 +0200 (CEST) | From | Jesper Juhl <> | Subject | [PATCH 12/14] staging: vt6656: iwctl: one statement per line (if) |
| |
Statement following 'if' should be on its own line.
Signed-off-by: Jesper Juhl <jj@chaosbits.net> --- drivers/staging/vt6656/iwctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c index c639a3c..dd3c1ac 100644 --- a/drivers/staging/vt6656/iwctl.c +++ b/drivers/staging/vt6656/iwctl.c @@ -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; } -- 1.7.11
-- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Don't top-post http://www.catb.org/jargon/html/T/top-post.html Plain text mails only, please.
| |