]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Filter global events based on wiphy
authorSriram R <srirrama@qti.qualcomm.com>
Mon, 20 Nov 2017 12:48:41 +0000 (18:18 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 26 Nov 2017 10:42:56 +0000 (12:42 +0200)
commit725a953aea6efd312148756c7c72acf63c33e724
treee51c1f5e69569a9801d0959b9ac6b35ff23efa4f
parentc6ba02154e4867e3e8cd5f823a70d92c08394c6d
nl80211: Filter global events based on wiphy

Avoid same interface processing nl80211 events when at least one of
IFIDX, WDEV, or WIPHY index attribute is available in the nl80211 event
message.

Previously, a same interface processes events when ifidx and wdev id
attribute were not available in the nl80211 message. This is extended to
check the presence of wiphy index attribute as well since some radar
notifications include only WIPHY index attrbute in the nl80211 message.

Signed-off-by: Sriram R <srirrama@qti.qualcomm.com>
src/drivers/driver_nl80211_event.c