From: "Rami Rosen" <ramirose@gmail.com>
To: linville@tuxdriver.com
Cc: "Johannes Berg" <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Subject: [PATCH] mac80211: fix an error in ieee80211_send_assoc() method.
Date: Tue, 16 Dec 2008 22:38:29 +0200 [thread overview]
Message-ID: <eb3ff54b0812161238y1ffdff2blf383e5354fdd5232@mail.gmail.com> (raw)
This patch fixes an error in ieee80211_send_assoc(), net/mac80211/mlme.c.
The error is usage of a wrong member when building
the ie80211 management frame (it should be assoc_req, and not reassoc_req).
This error is due to commit ea95bba41e69c616bb1512cf59d22f33266b8568,
which dealt with configuring a listen interval , from Jul 18, 2008.
(wireless-testing)
Signed-off-by: Rami Rosen <ramirose@gmail.com>
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 9a06905..829cdf8 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -309,7 +309,7 @@ static void ieee80211_send_assoc(struct
ieee80211_sub_if_data *sdata,
mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
IEEE80211_STYPE_ASSOC_REQ);
mgmt->u.assoc_req.capab_info = cpu_to_le16(capab);
- mgmt->u.reassoc_req.listen_interval =
+ mgmt->u.assoc_req.listen_interval =
cpu_to_le16(local->hw.conf.listen_interval);
}
next reply other threads:[~2008-12-16 20:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-16 20:38 Rami Rosen [this message]
2008-12-16 20:43 ` [PATCH] mac80211: fix an error in ieee80211_send_assoc() method Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eb3ff54b0812161238y1ffdff2blf383e5354fdd5232@mail.gmail.com \
--to=ramirose@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox