madwifi: add sta mode idle reassoc fix (#4091)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Oct 2008 12:29:14 +0000 (12:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Oct 2008 12:29:14 +0000 (12:29 +0000)
SVN-Revision: 12981

package/madwifi/patches/360-sta_nodes.patch

index c3819103dbf069ce795789433261e40949860225..f1151ac40a3303186ab3984f785dcd86c78d035e 100644 (file)
@@ -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;