2009-03-19 11:48:13

by Jouni Malinen

[permalink] [raw]
Subject: [PATCH 1/4] mac80211: Fix a typo in assoc vs. reassoc check

Signed-off-by: Jouni Malinen <[email protected]>

---
net/mac80211/mlme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- uml.orig/net/mac80211/mlme.c 2009-03-19 00:18:40.000000000 +0200
+++ uml/net/mac80211/mlme.c 2009-03-19 00:18:57.000000000 +0200
@@ -103,7 +103,7 @@ static void ieee80211_send_assoc(struct
u32 rates = 0;
size_t e_ies_len;

- if (ifmgd->flags & IEEE80211_IBSS_PREV_BSSID_SET) {
+ if (ifmgd->flags & IEEE80211_STA_PREV_BSSID_SET) {
e_ies = sdata->u.mgd.ie_reassocreq;
e_ies_len = sdata->u.mgd.ie_reassocreq_len;
} else {

--

--
Jouni Malinen PGP id EFC895FA


2009-03-19 18:45:29

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH 1/4] mac80211: Fix a typo in assoc vs. reassoc check

On Thu, 2009-03-19 at 13:39 +0200, Jouni Malinen wrote:
> plain text document attachment (mac80211-mlme-typo.patch)
> Signed-off-by: Jouni Malinen <[email protected]>

Acked-by: Johannes Berg <[email protected]>

> ---
> net/mac80211/mlme.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- uml.orig/net/mac80211/mlme.c 2009-03-19 00:18:40.000000000 +0200
> +++ uml/net/mac80211/mlme.c 2009-03-19 00:18:57.000000000 +0200
> @@ -103,7 +103,7 @@ static void ieee80211_send_assoc(struct
> u32 rates = 0;
> size_t e_ies_len;
>
> - if (ifmgd->flags & IEEE80211_IBSS_PREV_BSSID_SET) {
> + if (ifmgd->flags & IEEE80211_STA_PREV_BSSID_SET) {
> e_ies = sdata->u.mgd.ie_reassocreq;
> e_ies_len = sdata->u.mgd.ie_reassocreq_len;
> } else {
>
> --
>


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part