From: Ivo van Doorn <ivdoorn@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: 015-mac80211-tx-info-skb-cb.patch
Date: Thu, 8 May 2008 15:03:40 +0200 [thread overview]
Message-ID: <200805081503.41025.IvDoorn@gmail.com> (raw)
Hi Johannes,
The following patch is intended to be ontop or integrated into your patch:
http://johannes.sipsolutions.net/patches/kernel/all/LATEST/015-mac80211-tx-info-skb-cb.patch
This fixes a compilation error when mac80211 debug output is disabled.
Ivo
---
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 3b3592f..50edc9d 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -223,10 +223,9 @@ static ieee80211_tx_result
ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)
{
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
- struct sk_buff *skb = tx->skb;
- struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data;
+ struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) tx->skb->data;
#endif /* CONFIG_MAC80211_VERBOSE_DEBUG */
- struct ieee80211_tx_info *info = (void *)skb->cb;
+ struct ieee80211_tx_info *info = (void *)tx->skb->cb;
u32 sta_flags;
if (unlikely(info->flags & IEEE80211_TX_CTL_INJECTED))
next reply other threads:[~2008-05-08 12:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 13:03 Ivo van Doorn [this message]
2008-05-08 14:43 ` 015-mac80211-tx-info-skb-cb.patch Johannes Berg
2008-05-08 14:57 ` 015-mac80211-tx-info-skb-cb.patch Ivo van Doorn
2008-05-08 14:50 ` 015-mac80211-tx-info-skb-cb.patch Johannes Berg
2008-05-08 15:10 ` 015-mac80211-tx-info-skb-cb.patch Ivo van Doorn
2008-05-08 15:05 ` 015-mac80211-tx-info-skb-cb.patch Johannes Berg
2008-05-08 15:34 ` 015-mac80211-tx-info-skb-cb.patch Ivo van Doorn
2008-05-08 15:28 ` 015-mac80211-tx-info-skb-cb.patch 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=200805081503.41025.IvDoorn@gmail.com \
--to=ivdoorn@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.