mac80211: clean up IEEE80211_FC use

Really doesn't need to be defined four times.

Also, while at it, remove a useless macro (IEEE80211_ALIGN32_PAD)
and a function prototype for a function we don't actually have
(ieee80211_set_compression.)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2008-04-03 15:17:31 +02:00
committed by John W. Linville
parent 49ec6fa220
commit 9cfb0009da
4 changed files with 2 additions and 10 deletions

View File

@@ -10,8 +10,6 @@
#include <asm/unaligned.h>
#include "mesh.h"
#define IEEE80211_FC(type, stype) cpu_to_le16(type | stype)
#define TEST_FRAME_LEN 8192
#define MAX_METRIC 0xffffffff
#define ARITH_SHIFT 8