diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2020-05-27 08:11:48 -0700 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2020-05-30 14:30:32 -0700 |
commit | 36ed29992b28fe9e313ec2818dae1b8c7d626f32 (patch) | |
tree | 848714916b622c0e9a71325fef95fd489fbc8a32 /PREUPLOAD.cfg | |
parent | e1273d71ef5e5b4615e02aabad0b770c90b4ba15 (diff) |
Handle failure in softAp start gracefully
In the current code, if start of a softAp fails for any reason, it can
no longer start again until device boots. This is because the failure
handling misses resetting the tethering state.
This commit handles this by resetting the state on failure.
Bug: 155695448
Test: atest FrameworksWifiTests
Test: On a device that does not support 6GHz band
$ adb shell cmd wifi start-softap kai_softap open -b 6 <==Fail
$ adb shell cmd wifi start-softap kai_softap open -b 5 <==Succeed
Change-Id: I6b573d6d7f88ae48a63f20a20f9d4af54a87eba7
Diffstat (limited to 'PREUPLOAD.cfg')
0 files changed, 0 insertions, 0 deletions