Thread (2 messages) 2 messages, 2 authors, 2018-07-31

Re: [PATCH] mwifiex: use atomic bitops to represent adapter statusvariables

From: Kalle Valo <hidden>
Date: 2018-07-31 08:52:17

Ganapathi Bhat [off-list ref] wrote:
Driver is using boolean variables to maintain vairous status
information of adapter. These status variables are accessed by
multiple threads and there is a possibility of a race. To avoid
this, convert these variables to a set of bitops flags, to be
operated atomically.

Below variables of mwifiex_adapter are converted to bitop flags:
surprise_removed
is_cmd_timedout
is_suspended
is_hs_configured
hs_enabling

Signed-off-by: Ganapathi Bhat <redacted>
Patch applied to wireless-drivers-next.git, thanks.

fc3a2fcaa1ba mwifiex: use atomic bitops to represent adapter status variables

-- 
https://patchwork.kernel.org/patch/10523167/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help