summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-03-21 20:29:08 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2026-03-25 12:31:57 +0300
commitbac6907b2dadae522dfbe25faa365f1b081adf6a (patch)
treec7a8739254be5ec0b94d768946e503748af9cc33
parentf1011219309730a26e13e9b190168fceef6b8679 (diff)
downloadlinux-bac6907b2dadae522dfbe25faa365f1b081adf6a.tar.xz
wifi: iwlwifi: mld: rename iwl_mld_phy_from_mac80211() argument
Calling the channel context just "channel" is confusing since it's a different struct, rename it to the more appropriate "chanctx". Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260321192637.b2cf8cfd5902.I9e0006481454445058b96ec3e7ae338e917e2c50@changeid
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mld/phy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mld/phy.h b/drivers/net/wireless/intel/iwlwifi/mld/phy.h
index 0deaf179f07c..6887f9feaa5c 100644
--- a/drivers/net/wireless/intel/iwlwifi/mld/phy.h
+++ b/drivers/net/wireless/intel/iwlwifi/mld/phy.h
@@ -32,9 +32,9 @@ struct iwl_mld_phy {
};
static inline struct iwl_mld_phy *
-iwl_mld_phy_from_mac80211(struct ieee80211_chanctx_conf *channel)
+iwl_mld_phy_from_mac80211(struct ieee80211_chanctx_conf *chanctx)
{
- return (void *)channel->drv_priv;
+ return (void *)chanctx->drv_priv;
}
/* Cleanup function for struct iwl_mld_phy, will be called in restart */