From 1eb35dd1c8098556de0c174f780cff15eb212d4f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 11 Nov 2007 11:44:59 +0000 Subject: add b43 fixes from #2677 SVN-Revision: 9535 --- package/b43/src/pio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/b43/src/pio.h') diff --git a/package/b43/src/pio.h b/package/b43/src/pio.h index 46d6d2ea9b..3488f2447b 100644 --- a/package/b43/src/pio.h +++ b/package/b43/src/pio.h @@ -4,6 +4,7 @@ #include "b43.h" #include +#include #include #include @@ -39,10 +40,9 @@ struct b43_pio_txpacket { struct sk_buff *skb; struct ieee80211_tx_status txstat; struct list_head list; + u16 index; /* Index in the tx_packets_cache */ }; -#define pio_txpacket_getindex(packet) ((int)((packet) - (packet)->queue->tx_packets_cache)) - struct b43_pioqueue { struct b43_wldev *dev; u16 mmio_base; -- cgit v1.2.3