Thread (12 messages) 12 messages, 2 authors, 2024-06-12

Re: [PATCH v1 2/2] net: rfkill: Fix a logic error within rfkill_set_hw_state_reason()

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2024-06-12 10:18:18
Also in: linux-wireless

On Fri, 2024-06-07 at 22:40 +0800, Zijun Hu wrote:
Kernel API rfkill_set_hw_state_reason() wrongly gets previous block state
by using its parameter @reason as reason mask.

Fixed by using @reason_mask as reason mask.
Actually, this *introduces* a bug. I'll leave it to you to figure out
what that is, I'm not convinced that you're actually doing *anything*
useful here.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help