commit | 8edc7df508e04e982b9ef715d2f48e5cb3b1478e | [log] [tgz] |
---|---|---|
author | Sunil Ravi <sunilravi@google.com> | Mon Jun 28 19:40:47 2021 -0700 |
committer | Sunil Ravi <sunilravi@google.com> | Wed Jun 30 13:19:46 2021 -0700 |
tree | fbb2f2ef77b364ece376e4e7899b2f734fff2e75 | |
parent | 0f60cde7499e5c9718fb14c9d0df8dbe60ca847a [diff] |
Fix for crash seen in WifiManager#getUsableChannels() 1. Added the missing framework bands in the method where framework converts framework band to wifi HAL defenition of band. 2. Added code to catch the IllegalArgumentException Bug: 192111061 Bug: 192309370 Test: atest android.net.wifi.cts.WifiManagerTest#testGetAllowedChannels Test: atest com.android.server.wifi Change-Id: Ia5bfba05012c3ea61102b1e43cac20cc4f3a558d