WiFi-Hal: while loops to also check for clean_up
A Wi-Fi Turn OFF sets clean_up variable, expecting the Wi-Fi
HAL module to exit from its event / socket processing.
However, there were some instances , where Wi-FI HAL ended to
be in a busy while loop though clean_up is set and further
resulted to an improper Wi-Fi OFF. Thereby the further Wi-Fi ON's
have failed till a restart. Address such instances by having
the while loops also check for clean_up before continuing further.
Change-Id: I6af24cc38894d3ba98721acce2b147e4158134a3
CRs-Fixed: 2563190
2 files changed