mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
wifi: iwlwifi: mld: clarify variable type
In iwl_mld_emlsr_disallowed_with_link() the code uses an enum for a bitmap of values from it, which doesn't really make sense.Use u32 for the variable just like the return value. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250424153620.ddf54a728ec0.Ie2e8de150f67369c4e034452c5f1a15f85d2931c@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
ab606dea80
commit
8eac6b3347
|
|
@ -643,7 +643,7 @@ iwl_mld_emlsr_disallowed_with_link(struct iwl_mld *mld,
|
|||
{
|
||||
struct wiphy *wiphy = mld->wiphy;
|
||||
struct ieee80211_bss_conf *conf;
|
||||
enum iwl_mld_emlsr_exit ret = 0;
|
||||
u32 ret = 0;
|
||||
|
||||
conf = wiphy_dereference(wiphy, vif->link_conf[link->link_id]);
|
||||
if (WARN_ON_ONCE(!conf))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user