From: Johannes Berg Date: Mon, 18 Apr 2011 15:05:21 +0000 (+0200) Subject: mac80211: explain padding in place of rate field X-Git-Tag: v3.0~349^2~16^2~330 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73b48099cc265f88fa1255f3f43e52fe6a94fd5c;p=platform%2Fkernel%2Flinux-amlogic.git mac80211: explain padding in place of rate field Apparently this was confusing still ... add a note that the byte is needed as padding. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 54858a6..1f06b31 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -143,7 +143,8 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local, 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 {