d80211: allow migration to ieee80211_dev This patch allows drivers to switch from ieee80211_hw to ieee80211_dev before we really rename ieee80211_hw and break everything.
Signed-off-by: Michael Wu <[EMAIL PROTECTED]>
---
include/net/d80211.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/net/d80211.h b/include/net/d80211.h
index 65a5d36..f5de509 100644
--- a/include/net/d80211.h
+++ b/include/net/d80211.h
@@ -452,6 +452,9 @@ typedef enum {
SET_KEY, DISABLE_KEY, REMOVE_ALL_KEYS,
} set_key_cmd;
+/* Will go away once ieee80211_hw is really renamed to ieee80211_dev.
+ Please use ieee80211_dev in your driver. */
+#define ieee80211_dev ieee80211_hw
/* This is driver-visible part of the per-hw state the stack keeps. */
struct ieee80211_hw {
/* these are assigned by d80211, don't write */
pgp5zRV9mzULU.pgp
Description: PGP signature
