Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
staging
/
rtl8188eu
/
core
/
rtw_rf.c
diff --git
a/kernel/drivers/staging/rtl8188eu/core/rtw_rf.c
b/kernel/drivers/staging/rtl8188eu/core/rtw_rf.c
index
1170dd0
..
6983c57
100644
(file)
--- a/
kernel/drivers/staging/rtl8188eu/core/rtw_rf.c
+++ b/
kernel/drivers/staging/rtl8188eu/core/rtw_rf.c
@@
-52,7
+52,7
@@
static struct ch_freq ch_freq_map[] = {
{216, 5080},/* Japan, means J16 */
};
-static int ch_freq_map_num =
(sizeof(ch_freq_map) / sizeof(struct ch_freq)
);
+static int ch_freq_map_num =
ARRAY_SIZE(ch_freq_map
);
u32 rtw_ch2freq(u32 channel)
{