WifiHal:Add Null check for mInfo and sock

If Wifi is turned off during the power save request is
in process, there is a chance of socket or wifiInfo
becoming NULL

Add a null check to block the call to NULL pointer.

Bug: 296957095
Test: Regression Test
Change-Id: Ibe6253591c6852e38378579fda67f0055612055a
CRs-Fixed: 3609145
1 file changed
tree: 9b93689ae81b14ae3c9ea7d19a896082450a114a
  1. legacy/
  2. wcn6740/
  3. Android.bp
  4. Android.mk
  5. METADATA
  6. OWNERS