summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2006-04-07 10:10:45 +0200
committerJohn W. Linville <linville@tuxdriver.com>2006-04-24 22:15:51 +0200
commita28dc81dcd9ca9a451bfcab0a2351b0b07146759 (patch)
tree6f9e4b754807e3c81c99879dabd13a422a785327 /drivers/net/wireless/orinoco.h
parent[PATCH] orinoco: refactor and clean up Tx error handling (diff)
downloadlinux-a28dc81dcd9ca9a451bfcab0a2351b0b07146759.tar.xz
linux-a28dc81dcd9ca9a451bfcab0a2351b0b07146759.zip
[PATCH] orinoco: simplify 802.3 encapsulation code
Use skb_pull() to strip the addresses from the original packet. Don't strip protocol bytes. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco.h')
-rw-r--r--drivers/net/wireless/orinoco.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/orinoco.h b/drivers/net/wireless/orinoco.h
index c6922a705e3b..ca01e459a2f0 100644
--- a/drivers/net/wireless/orinoco.h
+++ b/drivers/net/wireless/orinoco.h
@@ -30,20 +30,6 @@ struct orinoco_key {
char data[ORINOCO_MAX_KEY_SIZE];
} __attribute__ ((packed));
-struct header_struct {
- /* 802.3 */
- u8 dest[ETH_ALEN];
- u8 src[ETH_ALEN];
- __be16 len;
- /* 802.2 */
- u8 dsap;
- u8 ssap;
- u8 ctrl;
- /* SNAP */
- u8 oui[3];
- unsigned short ethertype;
-} __attribute__ ((packed));
-
typedef enum {
FIRMWARE_TYPE_AGERE,
FIRMWARE_TYPE_INTERSIL,