projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mac80211-for-davem-2018-09-03' of git://git.kernel.org/pub/scm/linux/kerne...
[platform/kernel/linux-starfive.git]
/
net
/
wireless
/
util.c
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index
e0825a0
..
959ed3a
100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-1456,7
+1456,7
@@
bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef,
u8 *op_class)
{
u8 vht_opclass;
- u
16
freq = chandef->center_freq1;
+ u
32
freq = chandef->center_freq1;
if (freq >= 2412 && freq <= 2472) {
if (chandef->width > NL80211_CHAN_WIDTH_40)