wlan: Set scan_type to P2P_DISCOVERY only for social channel scan.

Scan type should be set to P2P_DISCOVERY only if it is a p2p search on
social channel. Otherwise it should not be set. Fixes: Scanning invalid
channels during p2p scan.

Change-Id: I011568eac0cdc17a707dc342a38ea3b861fb9489
CR-Fixed: 412053
1 file changed
tree: 32fa6916c4bb4420bf505f0ea1397b784ac9ac7a
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Kconfig
  5. Makefile