d80211: allow migration to ieee80211_dev
Subsystems (2)
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.
Signed-off-by Michael Wu <[email protected]>
---
include/net/d80211.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/net/d80211.h +3 -0
@@ -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 */