Only initialize sniffer in tests where sniffer is enabled

This CL avoids initializing the sniffer in tests where the sniffer is
not enabled thereby avoiding unnecessary errors in sniffer
initialization.

Test: Done
Bug: None

Signed-off-by: Omar El Ayach <oelayach@google.com>
Change-Id: I3b061b048c5f02a78836fb896f50481510e4d5a9
2 files changed
tree: b4a7306ec7eb3cbb238082d5849ad913be16316a
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. OWNERS
  6. PREUPLOAD.cfg