* [PATCH] mac80211: explain padding in place of rate field
@ 2011-04-18 15:05 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2011-04-18 15:05 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
From: Johannes Berg <johannes.berg@intel.com>
Apparently this was confusing still ... add a
note that the byte is needed as padding.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
net/mac80211/rx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/net/mac80211/rx.c 2011-04-18 17:02:40.000000000 +0200
+++ b/net/mac80211/rx.c 2011-04-18 17:04:07.000000000 +0200
@@ -143,7 +143,8 @@ ieee80211_add_rx_radiotap_header(struct
if (status->flag & RX_FLAG_HT) {
/*
* MCS information is a separate field in radiotap,
- * added below.
+ * added below. The byte here is needed as padding
+ * for the channel though, so initialise it to 0.
*/
*pos = 0;
} else {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-18 15:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18 15:05 [PATCH] mac80211: explain padding in place of rate field Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).