madwifi: add sta mode idle reassoc fix (#4091)

SVN-Revision: 12981
v19.07.3_mercusys_ac12_duma
Felix Fietkau 16 years ago
parent 3830b905e3
commit 8ec25f13de

@ -51,15 +51,6 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
vap->iv_flags &= ~IEEE80211_F_SIBSS; /* XXX */
if (ic->ic_roaming == IEEE80211_ROAMING_AUTO)
ieee80211_check_scan(vap,
@@ -1484,7 +1487,7 @@
vap->iv_state = ostate; /* stay RUN */
break;
case IEEE80211_FC0_SUBTYPE_DEAUTH:
- ieee80211_sta_leave(ni);
+ ieee80211_node_leave(ni);
if (ic->ic_roaming == IEEE80211_ROAMING_AUTO) {
/* try to reauth */
IEEE80211_SEND_MGMT(ni,
@@ -1511,7 +1514,7 @@
IEEE80211_FC0_SUBTYPE_ASSOC_REQ, 0);
break;

Loading…
Cancel
Save