summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/prism2mib.c
diff options
context:
space:
mode:
authorClaudiu Beznea2016-09-04 19:52:18 +0200
committerGreg Kroah-Hartman2016-09-12 13:19:10 +0200
commit41e9b844cc8ec2c7a747aec52706f3312878395f (patch)
treed18db05a2d97dbacf90910eb91ffa9426e92ccfa /drivers/staging/wlan-ng/prism2mib.c
parentStaging: wlan-ng: uses DIDmib_dot11smt_dot11WEPDefaultKeysTable_key() macro i... (diff)
downloadkernel-qcow2-linux-41e9b844cc8ec2c7a747aec52706f3312878395f.tar.gz
kernel-qcow2-linux-41e9b844cc8ec2c7a747aec52706f3312878395f.tar.xz
kernel-qcow2-linux-41e9b844cc8ec2c7a747aec52706f3312878395f.zip
Staging: wlan-ng: uses DIDmib_dot11smt_dot11WEPDefaultKeysTable_key() macro instead of DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey1
This patch removes DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey1 macro and uses DIDmib_dot11smt_dot11WEPDefaultKeysTable_key() instead. Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/prism2mib.c')
-rw-r--r--drivers/staging/wlan-ng/prism2mib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c
index 5fcfc8123216..7887f2aa08d7 100644
--- a/drivers/staging/wlan-ng/prism2mib.c
+++ b/drivers/staging/wlan-ng/prism2mib.c
@@ -152,7 +152,7 @@ static struct mibrec mibtab[] = {
F_STA | F_WRITE,
HFA384x_RID_CNFWEPDEFAULTKEY0, 0, 0,
prism2mib_wepdefaultkey},
- {DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey1,
+ {DIDmib_dot11smt_dot11WEPDefaultKeysTable_key(2),
F_STA | F_WRITE,
HFA384x_RID_CNFWEPDEFAULTKEY1, 0, 0,
prism2mib_wepdefaultkey},