Skip to contentSkip to conversation

d80211: allow migration to ieee80211_dev

PATCH New Michael Wu 1 participant 1 message Dec 20, 2006

Subsystems (2)
lore
Share & tools
lore

Michael Wu

author
#0 lore raw

PATCH 1/1 d80211: allow migration to ieee80211_dev

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.

---

 include/net/d80211.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/net/d80211.h +3 -0
index 65a5d36..f5de509 100644
@@ -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 */