Prechádzať zdrojové kódy

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 <claudiu.beznea@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Claudiu Beznea 9 rokov pred
rodič
commit
943407ce30
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      drivers/staging/wlan-ng/p80211metadef.h

+ 1 - 2
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) | \