Skip to content

Commit

Permalink
staging: vt6656: iwctl: one statement per line (if)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesper Juhl authored and Greg Kroah-Hartman committed Jun 25, 2012
1 parent 5a67363 commit aeadd58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/vt6656/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit aeadd58

Please sign in to comment.