Search Linux Wireless

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

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

 




Signed-off-by: Hong Liu <hong.liu@xxxxxxxxx>

---

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

12fccf89c133c23251fa8c5bca980bdc8875c053
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index 577dbe3..fbdabfb 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -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);
-- 
1.3.3

-
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