From: Claudiu Beznea Date: Sun, 4 Sep 2016 17:52:21 +0000 (+0300) Subject: Staging: wlan-ng: changed definition of DIDmib_dot11smt_dot11WEPDefaultKeysTable_key... X-Git-Tag: v4.9.8~1233^2~653 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=943407ce3012385855f860493bd7326cfa401316;p=platform%2Fkernel%2Flinux-rpi3.git Staging: wlan-ng: changed definition of DIDmib_dot11smt_dot11WEPDefaultKeysTable_key() macro This patch changes definition of DIDmib_dot11smt_dot11WEPDefaultKeysTable_key() macro and uses DIDmib_dot11smt_dot11WEPDefaultKeysTable instead of using directly (P80211DID_MKSECTION(1) | P80211DID_MKGROUP(4)). Signed-off-by: Claudiu Beznea Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211metadef.h b/drivers/staging/wlan-ng/p80211metadef.h index 33de041..b0d3567 100644 --- a/drivers/staging/wlan-ng/p80211metadef.h +++ b/drivers/staging/wlan-ng/p80211metadef.h @@ -156,8 +156,7 @@ (P80211DID_MKSECTION(1) | \ P80211DID_MKGROUP(4)) #define DIDmib_dot11smt_dot11WEPDefaultKeysTable_key(_i) \ - (P80211DID_MKSECTION(1) | \ - P80211DID_MKGROUP(4) | \ + (DIDmib_dot11smt_dot11WEPDefaultKeysTable | \ P80211DID_MKITEM(_i) | 0x0c000000) #define DIDmib_dot11smt_dot11PrivacyTable \ (P80211DID_MKSECTION(1) | \