Set subtype for re-association requests
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 9 Apr 2008 21:03:43 +0000 (21:03 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 9 Apr 2008 21:03:43 +0000 (21:03 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3490 0192ed92-7a03-0410-a25b-9323aeb14dbd

net80211/ieee80211_node.c

index 488b21f8b0f4e186e7c3ce48a37854fd90b76de6..65730147b0608896c3b3098cfe1623a2e54fda64 100644 (file)
@@ -654,7 +654,7 @@ ieee80211_sta_join1(struct ieee80211_node *selbs)
                 */
                if (canreassoc) {
                        vap->iv_nsparams.newstate = IEEE80211_S_ASSOC;
-                       vap->iv_nsparams.arg = 0;
+                       vap->iv_nsparams.arg = IEEE80211_FC0_SUBTYPE_REASSOC_REQ;
                        IEEE80211_SCHEDULE_TQUEUE(&vap->iv_stajoin1tq);
                } else {
                        vap->iv_nsparams.newstate = IEEE80211_S_AUTH;