mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-01 06:42:31 +00:00
mac80211: use non-atomic bitmap operation for local variable
For a local variable there's no need to use the atomic set_bit() operation, use __set_bit() instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
f87ad637b6
commit
5df45690e7
@ -821,7 +821,7 @@ u32 ieee802_11_parse_elems_crc(u8 *start, size_t len,
|
||||
if (elem_parse_failed)
|
||||
elems->parse_error = true;
|
||||
else
|
||||
set_bit(id, seen_elems);
|
||||
__set_bit(id, seen_elems);
|
||||
|
||||
left -= elen;
|
||||
pos += elen;
|
||||
|
Loading…
Reference in New Issue
Block a user