File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1068,18 +1068,18 @@ mesh_plink_get_event(struct ieee80211_sub_if_data *sdata,
1068
1068
case WLAN_SP_MESH_PEERING_OPEN :
1069
1069
if (!matches_local )
1070
1070
event = OPN_RJCT ;
1071
- if (!mesh_plink_free_count (sdata ) ||
1072
- (sta -> mesh -> plid && sta -> mesh -> plid != plid ))
1071
+ else if (!mesh_plink_free_count (sdata ) ||
1072
+ (sta -> mesh -> plid && sta -> mesh -> plid != plid ))
1073
1073
event = OPN_IGNR ;
1074
1074
else
1075
1075
event = OPN_ACPT ;
1076
1076
break ;
1077
1077
case WLAN_SP_MESH_PEERING_CONFIRM :
1078
1078
if (!matches_local )
1079
1079
event = CNF_RJCT ;
1080
- if (!mesh_plink_free_count (sdata ) ||
1081
- sta -> mesh -> llid != llid ||
1082
- (sta -> mesh -> plid && sta -> mesh -> plid != plid ))
1080
+ else if (!mesh_plink_free_count (sdata ) ||
1081
+ sta -> mesh -> llid != llid ||
1082
+ (sta -> mesh -> plid && sta -> mesh -> plid != plid ))
1083
1083
event = CNF_IGNR ;
1084
1084
else
1085
1085
event = CNF_ACPT ;
You can’t perform that action at this time.
0 commit comments