summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-10-16 22:13:51 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-10-16 22:13:50 -0700
commita66d8962f27e1f5c2fd1f765a2ae9afa1e8eb6b4 (patch)
tree3028e94f99824180626f9fbfb6e5a66f551641e1 /net/wireless
parent14ca49a1a44c4c07b8040fcfdb9671d21d5df06d (diff)
parentf25fed271059c7a4afe6db46f085e80e2c4db073 (diff)
Merge "Merge android-4.4.160 (a94efb1) into msm-4.4"
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index e50092658fcc..4d3719d7113d 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1356,7 +1356,7 @@ bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef,
u8 *op_class)
{
u8 vht_opclass;
- u16 freq = chandef->center_freq1;
+ u32 freq = chandef->center_freq1;
if (freq >= 2412 && freq <= 2472) {
if (chandef->width > NL80211_CHAN_WIDTH_40)