Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159178
b: refs/heads/master
c: 9c7c0cd
h: refs/heads/master
v: v3
  • Loading branch information
Zhu Yi authored and John W. Linville committed Jul 24, 2009
1 parent 5119cb2 commit fba16c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b68518fcbc6e0fe8c06a218cd2b92f62f3730cf9
refs/heads/master: 9c7c0cdd24e64f9aed39453a1bffc3b3fd16ef99
13 changes: 9 additions & 4 deletions trunk/drivers/net/wireless/iwmc3200wifi/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,9 @@ static int iwm_mlme_assoc_complete(struct iwm_priv *iwm, u8 *buf,

iwm_link_on(iwm);

if (iwm->conf.mode == UMAC_MODE_IBSS)
goto ibss;

cfg80211_connect_result(iwm_to_ndev(iwm),
complete->bssid,
iwm->req_ie, iwm->req_ie_len,
Expand All @@ -530,6 +533,9 @@ static int iwm_mlme_assoc_complete(struct iwm_priv *iwm, u8 *buf,

iwm_link_off(iwm);

if (iwm->conf.mode == UMAC_MODE_IBSS)
goto ibss;

cfg80211_connect_result(iwm_to_ndev(iwm), complete->bssid,
NULL, 0, NULL, 0,
WLAN_STATUS_UNSPECIFIED_FAILURE,
Expand All @@ -538,11 +544,10 @@ static int iwm_mlme_assoc_complete(struct iwm_priv *iwm, u8 *buf,
break;
}

if (iwm->conf.mode == UMAC_MODE_IBSS) {
cfg80211_ibss_joined(iwm_to_ndev(iwm), iwm->bssid, GFP_KERNEL);
return 0;
}
return 0;

ibss:
cfg80211_ibss_joined(iwm_to_ndev(iwm), iwm->bssid, GFP_KERNEL);
return 0;
}

Expand Down

0 comments on commit fba16c2

Please sign in to comment.