OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5d9e6
)
wifi: mac80211: mlme: set sta.mlo correctly
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 15 Jul 2022 13:11:50 +0000
(15:11 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 15 Jul 2022 13:12:45 +0000
(15:12 +0200)
Due to some changes and rebasing between different patches
this fell through the cracks; we need to set sta.mlo if the
connection is using MLO.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
patch
|
blob
|
history
diff --git
a/net/mac80211/mlme.c
b/net/mac80211/mlme.c
index
e4e501f
..
912095e
100644
(file)
--- a/
net/mac80211/mlme.c
+++ b/
net/mac80211/mlme.c
@@
-6402,6
+6402,8
@@
static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata,
err = -ENOMEM;
goto out_err;
}
+
+ new_sta->sta.mlo = link_id >= 0;
}
/*