]> git.ipfire.org Git - thirdparty/hostap.git/commit
ml80211: Put wiphy idx to obtain correct country code
authorChenming Huang <quic_chenhuan@quicinc.com>
Wed, 8 Mar 2023 07:39:22 +0000 (15:39 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 9 Mar 2023 18:59:20 +0000 (20:59 +0200)
commita34b8477a73f095cbd80b8a5051fcf1cefd9dbfa
treeb33b3abfb01787ed38d3be65e51513ea298d51c6
parent1491fc64a820ac8949f318ab4e710c26e7d14fee
ml80211: Put wiphy idx to obtain correct country code

If wiphy idx not provided, kernel returns global reg domain when
processing NL80211_CMD_GET_REG. To obtain the correct country code for
the self-managed regulatory cases, put wiphy idx into nl_msg when
sending this command to kernel.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/drivers/driver_nl80211.c