Skip to content
Commit 3f9d9725 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: don't open-code LED manipulations



We shouldn't open-code led_trigger_blink() or led_trigger_event(),
use them instead of badly open-coding them. This also fixes the
locking, led_trigger_blink() and led_trigger_event() now use
read_lock_irqsave().

Link: https://lore.kernel.org/r/20210616212804.b19ba1c60353.I8ea1b4defd5e12fc20ef281291e602feeec336a6@changeid
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d656a4c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment