]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Silence bogus send_event_marker() warning
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 7 Aug 2025 11:25:34 +0000 (13:25 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 6 Oct 2025 20:15:53 +0000 (23:15 +0300)
commit274d5014bd5016f72ccb19ddc8b696bb1a4364d1
tree221f03920fe8ff380ee86c988cbd34c275f13c1e
parentf49dc6afe1b361fa3b1a68d01f7a9d7c62497d19
nl80211: Silence bogus send_event_marker() warning

The err variable only contains an error if it is negative and positive
values are success. Fix the check to silence the message.

Fixes: 645ec9b58a85 ("nl80211: Do a roundtrip to reset event supressions")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
src/drivers/driver_nl80211.c