Wifi: Disable PNO (if enabled) only when the scan is allowed to trigger

In WiFi's disconnected state and when a PNO is enabled, a scan
request through an alarm source shall disable the PNO, though
the scan fails to trigger (if cancelled due to cancelDelayedScan).
This commit ensures to disable the PNO only before the scan request
succeeds to trigger.

Change-Id: Ie462011d99644e83314c55e8135f8cbf2b8de5c7
1 file changed
tree: 363a7b6b012c07ead0bfec7ccb7598d6086b1e5e
  1. service/