android_kernel_oneplus_msm8998/net/wireless
Andrei Otcheretianski db420bc4b7 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
[ Upstream commit 24f33e64fcd0d50a4b1a8e5b41bd0257aa66b0e8 ]

Core regulatory hints didn't set wiphy_idx to WIPHY_IDX_INVALID. Since
the regulatory request is zeroed, wiphy_idx was always implicitly set to
0. This resulted in updating only phy .
Fix that.

Fixes: 806a9e3967 ("cfg80211: make regulatory_request use wiphy_idx instead of wiphy")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[add fixes tag]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:41:33 -08:00
..
.gitignore
ap.c
chan.c
core.c cfg80211: limit wiphy names to 128 bytes 2018-05-26 08:49:00 +02:00
core.h
db.txt
debugfs.c
debugfs.h
ethtool.c
genregdb.awk
ibss.c
Kconfig
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
Makefile
mesh.c
mlme.c
nl80211.c cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE 2018-10-10 08:52:11 +02:00
nl80211.h
ocb.c
radiotap.c
rdev-ops.h
reg.c cfg80211: reg: Init wiphy_idx in regulatory_hint_core() 2018-11-10 07:41:33 -08:00
reg.h
regdb.h
scan.c
sme.c
sysfs.c
sysfs.h
trace.c
trace.h
util.c cfg80211: fix a type issue in ieee80211_chandef_to_operating_class() 2018-10-10 08:52:11 +02:00
wext-compat.c
wext-compat.h
wext-core.c
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c