projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a67363
)
staging: vt6656: iwctl: one statement per line (if)
author
Jesper Juhl
<jj@chaosbits.net>
Sun, 24 Jun 2012 23:57:32 +0000
(
01:57
+0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/iwctl.c
b/drivers/staging/vt6656/iwctl.c
index c639a3c9030fe3465599e43b114a7c3b962f48eb..dd3c1aca16df15cbbe9525eda090cabd087eeaef 100644
(file)
--- 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;
}