Search Linux Wireless

[PATCH 16/19] mac80211: fix passing wrong pointer to ieee80211_dump_frame

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hong Liu <hong.liu@xxxxxxxxx>

Signed-off-by: Hong Liu <hong.liu@xxxxxxxxx>
Signed-off-by: Jiri Benc <jbenc@xxxxxxx>

---

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

0ddfc778426ba75c2ad71d23e9e2e48121264c70
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index 24cc3a0..fccb0fe 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -1166,7 +1166,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);
-- 
1.3.0

-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux