mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacmn: Fix radar detection failure for 11A mode
AP does not add the RADAR found channels to NOL when user configures the AP in 11A mode. This is because, dfs_get_bonding_channels() returns the number of bonding channels as 0 for 11A mode. Hence, the radar detected channel are not added to NOL. Add change to get bonding channels for 11A mode. Change-Id: I88db7f1241c5915021071e9caa1cfb8b7fa94c7f CRs-Fixed: 2195597
This commit is contained in:
parent
e8d9e209a8
commit
249ddc70eb
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2008 Atheros Communications, Inc.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
|
|
@ -266,7 +266,8 @@
|
|||
((struct dfs_channel *) WLAN_CHAN_ANY)
|
||||
|
||||
#define WLAN_IS_CHAN_MODE_20(_c) \
|
||||
(WLAN_IS_CHAN_11NA_HT20(_c) || \
|
||||
(WLAN_IS_CHAN_A(_c) || \
|
||||
WLAN_IS_CHAN_11NA_HT20(_c) || \
|
||||
WLAN_IS_CHAN_11AC_VHT20(_c) || \
|
||||
WLAN_IS_CHAN_11AXA_HE20(_c))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue