From bb25e48a3b3b148ed47a680b5d4204871d5af2c9 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sun, 3 Sep 2023 22:26:36 +0200 Subject: [PATCH] Version 2.2.4: upgraded fix_brcmf_plugin.py to look for firmware halted or crashed log Signed-off-by: Jeroen Oudshoorn Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/fix_brcmf_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/fix_brcmf_plugin.py b/pwnagotchi/plugins/default/fix_brcmf_plugin.py index fe43132c..1008d7ae 100644 --- a/pwnagotchi/plugins/default/fix_brcmf_plugin.py +++ b/pwnagotchi/plugins/default/fix_brcmf_plugin.py @@ -27,7 +27,7 @@ class Fix_BRCMF(plugins.Plugin): 'pip': ['scapy'] } __defaults__ = { - 'enabled': True, + 'enabled': False, } def __init__(self): @@ -45,6 +45,7 @@ class Fix_BRCMF(plugins.Plugin): """ Gets called when the plugin gets loaded """ + self.pattern = re.compile(r'brcmf_cfg80211_nexmon_set_channel.*?Set Channel failed') self._status = "ld" logging.info("[FixBRCMF] plugin loaded.")