We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99cab52 commit 37c9cb1Copy full SHA for 37c9cb1
itl80211/openbsd/net80211/ieee80211.c
@@ -898,7 +898,7 @@ ieee80211_watchdog(struct _ifnet *ifp)
898
if (ni)
899
ni->ni_fails++;
900
/* Try more times to join, some drivers will timeout when doing auth/assoc */
901
- if (ni && ni->ni_fails < 3) {
+ if (ic->ic_state == IEEE80211_S_AUTH && ni && ni->ni_fails < 3) {
902
ieee80211_node_join_bss(ic, ni);
903
goto done;
904
}
0 commit comments