fix_brcmf_plugin.py: adjusted # of tries

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 00:27:13 +02:00
parent ad6694cf04
commit 3eb06cd0e6

View File

@ -246,7 +246,7 @@ class Fix_BRCMF(plugins.Plugin):
# unload the module # unload the module
cmd_output = subprocess.check_output("sudo modprobe -r brcmfmac", shell=True) cmd_output = subprocess.check_output("sudo modprobe -r brcmfmac", shell=True)
self.logPrintView("info", "[FixBRCMF] unloaded brcmfmac", display, self.logPrintView("info", "[FixBRCMF] unloaded brcmfmac", display,
{"status": "Turning it off #%d" % tries, "face": faces.SMART}) {"status": "Turning it off #%d" % tries+1, "face": faces.SMART})
self._status = "ul" self._status = "ul"
time.sleep(1 + tries) time.sleep(1 + tries)