]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211_capa.c
nl80211: Read reg-domain information from a specific wiphy
authorPeng Xu <pxu@codeaurora.org>
Thu, 18 Oct 2018 19:03:25 +0000 (12:03 -0700)
committerJouni Malinen <jouni@codeaurora.org>
Wed, 24 Oct 2018 15:36:34 +0000 (18:36 +0300)
commit224eddb03b95434cdd1efbbb1aed1c1d81b019eb
tree8422b521dba91ed73de6d3b34e06c4e919369871
parent8aa4d5521c9e515ab1f1b47f9dcccfba89f93f28
nl80211: Read reg-domain information from a specific wiphy

If driver supports self-managed regulatory domain, read reg-domain
information for that specific wiphy interface instead the global
information which may be different which such drivers. This fixes issues
where a regulatory update with a self-managed regulatory domain driver
ended up building incorrect list of supported channels for upper layer
hostapd/wpa_supplicant operations.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211_capa.c