staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Use keyparms->cipher to set...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 24 Jun 2014 13:03:39 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2014 17:51:00 +0000 (13:51 -0400)
commit55db5d02f81bd45c3a47f4ab4a917a70c6e13916
tree524eee264a13e429f4622a93cc08eef5e5a6bbaf
parentf84f97fd6a90080b89a7aa6ddd7b6b5b6d6c3898
staging: rtl8723au: rtw_cfg80211_ap_set_encryption(): Use keyparms->cipher to set WEP size

We already know which type of WEP we are using when we get here, no
point trying to determine it from key_len.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c