diff options
author | Paul Gortmaker | 2015-04-27 07:25:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-05-08 09:24:15 +0200 |
commit | acd442db059f63232566f72afb8f34848ff7e208 (patch) | |
tree | 19408c40f82467ac71374560aa12c51153a7c8e3 /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | rtl8192u: delete another embedded instance of generic reason codes (diff) | |
download | kernel-qcow2-linux-acd442db059f63232566f72afb8f34848ff7e208.tar.gz kernel-qcow2-linux-acd442db059f63232566f72afb8f34848ff7e208.tar.xz kernel-qcow2-linux-acd442db059f63232566f72afb8f34848ff7e208.zip |
rtl8192e: delete local copy of iee80211 reason codes.
This driver has a copy of the standard reason codes from the file
<linux/ieee80211.h> but with slightly different name fields.
Delete the local copy and remap the only two use cases onto the names
used by the global implementation with the same values.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 23b7a4c3b699..8f5e88b802c8 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -20,6 +20,7 @@ #include <linux/delay.h> #include <linux/uaccess.h> #include <linux/etherdevice.h> +#include <linux/ieee80211.h> #include "dot11d.h" short rtllib_is_54g(struct rtllib_network *net) @@ -2983,7 +2984,7 @@ void rtllib_stop_protocol(struct rtllib_device *ieee, u8 shutdown) if (ieee->state == RTLLIB_LINKED) { if (ieee->iw_mode == IW_MODE_INFRA) - SendDisassociation(ieee, 1, deauth_lv_ss); + SendDisassociation(ieee, 1, WLAN_REASON_DEAUTH_LEAVING); rtllib_disassociate(ieee); } |