Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5df45690 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent f87ad637
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;