wlan: Properly initialize abort scan completion variable.
While posting PNO request to firmware host aborts pending and ongoing
scan requests. As part of abort scan, 'abortscan_event_var' completion
is set while clearing pending list scan commands, leading to post PNO
request before aborting ongoing SCAN request, if present.
Hence initialize abortscan_event_var completion variable only when
SCAN command is present in active list.
Change-Id: Iea90f346e1fa3fbda9e5eca286aa9ad53c57ef2c
CRs-Fixed: 776411.
8 files changed