mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
16 lines
511 B
Diff
16 lines
511 B
Diff
|
--- a/driver/wl_iw.c
|
||
|
+++ a/driver/wl_iw.c
|
||
|
@@ -381,9 +381,9 @@ wl_iw_set_freq(
|
||
|
while (fwrq->e++ < 6)
|
||
|
fwrq->m /= 10;
|
||
|
}
|
||
|
- /* handle 4.9GHz frequencies as Japan 4 GHz based channelization */
|
||
|
- if (fwrq->m > 4000 && fwrq->m < 5000)
|
||
|
- sf = WF_CHAN_FACTOR_4_G; /* start factor for 4 GHz */
|
||
|
+ /* handle 4.9GHz frequencies as Japan 4 GHz based channelization */
|
||
|
+ if (fwrq->m > 4000 && fwrq->m < 5000)
|
||
|
+ sf = WF_CHAN_FACTOR_4_G; /* start factor for 4 GHz */
|
||
|
|
||
|
chan = wf_mhz2channel(fwrq->m, sf);
|
||
|
}
|