diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-10-09 10:25:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-23 16:45:35 +0200 |
commit | 9c4f830927750a2bf9fd9426a5257f0fdce3b662 (patch) | |
tree | d9955a7b956ae15bc8fe68ed9ccbdd4936290cc8 /net/mac80211 | |
parent | 006a97ceb6732c861c0e2fa3b6a34512caac9354 (diff) | |
download | lwn-9c4f830927750a2bf9fd9426a5257f0fdce3b662.tar.gz lwn-9c4f830927750a2bf9fd9426a5257f0fdce3b662.zip |
wifi: cfg80211: pass net_device to .set_monitor_channel
Preparation for allowing multiple monitor interfaces with different channels
on a multi-radio wiphy.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/35fa652dbfebf93343f8b9a08fdef0467a2a02dc.1728462320.git-series.nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index ecc138869b4b..492349d6f7bb 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -897,6 +897,7 @@ static int ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, } static int ieee80211_set_monitor_channel(struct wiphy *wiphy, + struct net_device *dev, struct cfg80211_chan_def *chandef) { struct ieee80211_local *local = wiphy_priv(wiphy); |