Merge "taxonomy: add iOS 10 & Dish signatures."
diff --git a/cmds/anonid.c b/cmds/anonid.c
index e7854ad..106f5fc 100644
--- a/cmds/anonid.c
+++ b/cmds/anonid.c
@@ -177,6 +177,7 @@
     usage(argv[0]);
   }
 
+  memset(anonid, 0, sizeof(anonid));
   get_anonid_for_mac(addr, anonid);
   printf("%s\n", anonid);
 
diff --git a/wifi/wifi.py b/wifi/wifi.py
index 4719b12..3773f03 100755
--- a/wifi/wifi.py
+++ b/wifi/wifi.py
@@ -537,12 +537,12 @@
     raise utils.BinWifiException('No client interface for band %s', band)
 
   scan_args = []
+  if opt.scan_freq:
+    scan_args += ['freq', str(opt.scan_freq)]
   if opt.scan_ap_force:
     scan_args += ['ap-force']
   if opt.scan_passive:
     scan_args += ['passive']
-  if opt.scan_freq:
-    scan_args += ['freq', opt.scan_freq]
 
   print(iw.scan(interface, scan_args))