Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
This commit is contained in:
@@ -957,7 +957,8 @@ mesh_plink_get_event(struct ieee80211_sub_if_data *sdata,
|
||||
if (!matches_local)
|
||||
event = CNF_RJCT;
|
||||
if (!mesh_plink_free_count(sdata) ||
|
||||
(sta->llid != llid || sta->plid != plid))
|
||||
sta->llid != llid ||
|
||||
(sta->plid && sta->plid != plid))
|
||||
event = CNF_IGNR;
|
||||
else
|
||||
event = CNF_ACPT;
|
||||
@@ -1074,6 +1075,10 @@ mesh_process_plink_frame(struct ieee80211_sub_if_data *sdata,
|
||||
goto unlock_rcu;
|
||||
}
|
||||
|
||||
/* 802.11-2012 13.3.7.2 - update plid on CNF if not set */
|
||||
if (!sta->plid && event == CNF_ACPT)
|
||||
sta->plid = plid;
|
||||
|
||||
changed |= mesh_plink_fsm(sdata, sta, event);
|
||||
|
||||
unlock_rcu:
|
||||
|
||||
Reference in New Issue
Block a user