Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: mac80211: set wiphy for virtual monitors

Drivers might plausibly want to have this, but also the
locking assertions will need it later.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

+1
+1
net/mac80211/iface.c
··· 1134 1134 wiphy_name(local->hw.wiphy)); 1135 1135 sdata->wdev.iftype = NL80211_IFTYPE_MONITOR; 1136 1136 mutex_init(&sdata->wdev.mtx); 1137 + sdata->wdev.wiphy = local->hw.wiphy; 1137 1138 1138 1139 ieee80211_sdata_init(local, sdata); 1139 1140