Version 2.2.4:

upgraded fix_brcmf_plugin.py to look for firmware halted or crashed log
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-03 22:26:36 +02:00
parent 9016690d2b
commit bb25e48a3b

View File

@ -27,7 +27,7 @@ class Fix_BRCMF(plugins.Plugin):
'pip': ['scapy'] 'pip': ['scapy']
} }
__defaults__ = { __defaults__ = {
'enabled': True, 'enabled': False,
} }
def __init__(self): def __init__(self):
@ -45,6 +45,7 @@ class Fix_BRCMF(plugins.Plugin):
""" """
Gets called when the plugin gets loaded Gets called when the plugin gets loaded
""" """
self.pattern = re.compile(r'brcmf_cfg80211_nexmon_set_channel.*?Set Channel failed')
self._status = "ld" self._status = "ld"
logging.info("[FixBRCMF] plugin loaded.") logging.info("[FixBRCMF] plugin loaded.")