Commit: b8bdb1c191182f73cad2647780c30792553d1bc6
Parent: dad9ef1d3762031586b53ba7fb226135832734dc
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-01-30 03:29:46
Tree: ad59da37d0e1437d3af60b3c7560d897873eb89f

core: Remove unnecessary adapter->passive_scanning variable The adapter->discovery_list can function equally well as an indicator of whether normal discovery or passive scanning is in progress. Normal discovery always overrides passive scanning so if there's one or more entries in discovery_list we must be performing normal discovery and not passive scanning.

Diffstat

M src/adapter.c | 15 +++++- - - - - - - - - -

1 files changed, 5 insertions(+), 10 deletions(-)

View Full Diff | Patch