updated function call

Signed-off-by: Casey Diemel <diemelcw@gmail.com>
This commit is contained in:
Casey Diemel 2019-10-13 17:52:41 -04:00
parent 2bbcc36f2a
commit d15f8c18b5

View File

@ -190,7 +190,7 @@ class Agent(Client, AsyncAdvertiser, AsyncTrainer):
aps = []
try:
s = self.session()
plugins.on("unfiltered_ap_list", s['wifi']['aps'])
plugins.on("unfiltered_ap_list", self, s['wifi']['aps'])
for ap in s['wifi']['aps']:
if ap['hostname'] not in whitelist:
if self._filter_included(ap):