File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5130,9 +5130,10 @@ static bool ieee80211_assoc_success(struct ieee80211_sub_if_data *sdata,
5130
5130
continue ;
5131
5131
5132
5132
valid_links |= BIT (link_id );
5133
- if (assoc_data -> link [link_id ].disabled ) {
5133
+ if (assoc_data -> link [link_id ].disabled )
5134
5134
dormant_links |= BIT (link_id );
5135
- } else if (link_id != assoc_data -> assoc_link_id ) {
5135
+
5136
+ if (link_id != assoc_data -> assoc_link_id ) {
5136
5137
err = ieee80211_sta_allocate_link (sta , link_id );
5137
5138
if (err )
5138
5139
goto out_err ;
@@ -5147,7 +5148,7 @@ static bool ieee80211_assoc_success(struct ieee80211_sub_if_data *sdata,
5147
5148
struct ieee80211_link_data * link ;
5148
5149
struct link_sta_info * link_sta ;
5149
5150
5150
- if (!cbss || assoc_data -> link [ link_id ]. disabled )
5151
+ if (!cbss )
5151
5152
continue ;
5152
5153
5153
5154
link = sdata_dereference (sdata -> link [link_id ], sdata );
You can’t perform that action at this time.
0 commit comments