Shorten the names of the p80211metadef.h macros prefixed with "DIDMIB_LNX_" by removing repeat use of "LNX" to reduce long lines and ease readabbility. Signed-off-by: Tim Collier <osdevtc@xxxxxxxxx> --- drivers/staging/wlan-ng/p80211metadef.h | 4 ++-- drivers/staging/wlan-ng/prism2mib.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211metadef.h b/drivers/staging/wlan-ng/p80211metadef.h index ec37d2ae16c6..ea0113765e40 100644 --- a/drivers/staging/wlan-ng/p80211metadef.h +++ b/drivers/staging/wlan-ng/p80211metadef.h @@ -219,10 +219,10 @@ P80211DID_MKITEM(1) | 0x10000000) #define DIDMIB_CAT_LNX \ P80211DID_MKSECTION(4) -#define DIDMIB_LNX_LNXCONFIGTABLE \ +#define DIDMIB_LNX_CONFIGTABLE \ (P80211DID_MKSECTION(4) | \ P80211DID_MKGROUP(1)) -#define DIDMIB_LNX_LNXCONFIGTABLE_LNXRSNAIE \ +#define DIDMIB_LNX_CONFIGTABLE_RSNAIE \ (P80211DID_MKSECTION(4) | \ P80211DID_MKGROUP(1) | \ P80211DID_MKITEM(1) | 0x18000000) diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c index 35575b434a59..427805eebd84 100644 --- a/drivers/staging/wlan-ng/prism2mib.c +++ b/drivers/staging/wlan-ng/prism2mib.c @@ -230,7 +230,7 @@ static struct mibrec mibtab[] = { prism2mib_uint32}, /* And finally, lnx mibs */ - {DIDMIB_LNX_LNXCONFIGTABLE_LNXRSNAIE, + {DIDMIB_LNX_CONFIGTABLE_RSNAIE, F_STA | F_READ | F_WRITE, HFA384x_RID_CNFWPADATA, 0, 0, prism2mib_priv}, @@ -707,7 +707,7 @@ static int prism2mib_priv(struct mibrec *mib, struct p80211pstrd *pstr = data; switch (mib->did) { - case DIDMIB_LNX_LNXCONFIGTABLE_LNXRSNAIE:{ + case DIDMIB_LNX_CONFIGTABLE_RSNAIE:{ struct hfa384x_wpa_data wpa; if (isget) { -- 2.11.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel