Skip to contentSkip to conversation

mac80211: fix passing wrong pointer to ieee80211_dump_frame

PATCH Applied Hong Liu 2 participants 2 messages Mar 16, 2007 – Mar 23, 2007 mac80211

lore
Share & tools
lore

Hong Liu

author
#0 lore raw

PATCH 5/5 mac80211: fix passing wrong pointer to ieee80211_dump_frame

---

 net/mac80211/ieee80211.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

12fccf89c133c23251fa8c5bca980bdc8875c053

net/mac80211/ieee80211.c +2 -1
index 577dbe3..fbdabfb 100644
@@ -1174,7 +1174,8 @@ static int __ieee80211_tx(struct ieee802
 			}
 
 			ieee80211_dump_frame(local->mdev->name,
-					     "TX to low-level driver", skb);
+					     "TX to low-level driver",
+					     tx->u.tx.extra_frag[i]);
 			ret = local->ops->tx(local_to_hw(local),
 					    tx->u.tx.extra_frag[i],
 					    control);
Signature · 1 line
1.3.3