diff options
| author | bings <bings@codeaurora.org> | 2016-11-28 16:28:48 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-02 06:49:24 -0800 |
| commit | 665291eb489cb018ea4f517ab9739144cadfaedc (patch) | |
| tree | f08acf202747d8627d6812218a6fab20fa86124c | |
| parent | 324b6b07e459c54bf24302d5ee07d027c1df7167 (diff) | |
qcacld-2.0: Fix dead loop in hdd_get_sap_operating_channel
In the while loop of hdd_get_sap_operating_channel,
sap_operating_band should be revalued, otherwise it causes
dead loop.
Change-Id: I9cb1ae738066567d032f99621ffe04d3beb74b8c
CRs-Fixed: 1094604
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 1991204c9102..e4f8a34c356c 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -12554,6 +12554,7 @@ uint8_t hdd_get_sap_operating_channel(hdd_context_t *hdd_ctx) { else sap_operating_band = eCSR_BAND_ALL; status = hdd_get_next_adapter(hdd_ctx, adapter_node, &next); + adapter_node = next; } return sap_operating_band; } |
