[FS#3493] hotplug firmware scripts run twice for each device, for ACTION=add, and ACTION=remove

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Dec 8 23:50:40 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3493 - hotplug firmware scripts run twice for each device, for ACTION=add, and ACTION=remove
User who did this - John (johnth)

----------
It works, but I would not expect the caldata extraction functions to be run for $ACTION=remove?
logread has an error for it: Tue Dec  8 03:49:22 2020 daemon.err procd: Failed to write to /sys//devices/pci0000:00/0000:00:00.0/firmware/ath10k!cal-pci-0000:00:00.0.bin/loading: Bad file descriptor

We should be able to save some cpu cycles if we only run on $ACTION=add for functions where we modify the caldata (like ath9k_patch_mac) before loading it?
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3493#comment9123

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list