mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-02-16 19:32:07 +00:00
rtl8188eu: Fix checkpatch errors in core/rtw_rf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
ef1472a558
commit
37c22805d1
1 changed files with 15 additions and 19 deletions
|
@ -59,10 +59,8 @@ u32 rtw_ch2freq(u32 channel)
|
||||||
u8 i;
|
u8 i;
|
||||||
u32 freq = 0;
|
u32 freq = 0;
|
||||||
|
|
||||||
for (i = 0; i < ch_freq_map_num; i++)
|
for (i = 0; i < ch_freq_map_num; i++) {
|
||||||
{
|
if (channel == ch_freq_map[i].channel) {
|
||||||
if (channel == ch_freq_map[i].channel)
|
|
||||||
{
|
|
||||||
freq = ch_freq_map[i].frequency;
|
freq = ch_freq_map[i].frequency;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -78,10 +76,8 @@ u32 rtw_freq2ch(u32 freq)
|
||||||
u8 i;
|
u8 i;
|
||||||
u32 ch = 0;
|
u32 ch = 0;
|
||||||
|
|
||||||
for (i = 0; i < ch_freq_map_num; i++)
|
for (i = 0; i < ch_freq_map_num; i++) {
|
||||||
{
|
if (freq == ch_freq_map[i].frequency) {
|
||||||
if (freq == ch_freq_map[i].frequency)
|
|
||||||
{
|
|
||||||
ch = ch_freq_map[i].channel;
|
ch = ch_freq_map[i].channel;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue