diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-02-27 22:35:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-28 14:33:43 -0500 |
commit | 848819f43878a3a3f7c659fee3b6e16c334c3062 (patch) | |
tree | db61e0825a98a223ea1174aed104dba368dc3c18 /drivers/net/wireless/mwifiex/main.h | |
parent | ace273551b7c9c2cfbfc606ac4cd518c67f80faf (diff) |
mwifiex: stop AP at shutdown time
Deauth is sent to AP when the device is acting as station at
shutdown time. Similarly we should stop AP operation also.
mwifiex_deauthenticate() takes care closing the connection
based on provided interface type.
Add a new function to simplify the code.
Reported-by: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 6c04baa5bcf9..e9d64fc7d786 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -927,6 +927,7 @@ int mwifiex_ret_802_11_associate(struct mwifiex_private *priv, | |||
927 | void mwifiex_reset_connect_state(struct mwifiex_private *priv, u16 reason); | 927 | void mwifiex_reset_connect_state(struct mwifiex_private *priv, u16 reason); |
928 | u8 mwifiex_band_to_radio_type(u8 band); | 928 | u8 mwifiex_band_to_radio_type(u8 band); |
929 | int mwifiex_deauthenticate(struct mwifiex_private *priv, u8 *mac); | 929 | int mwifiex_deauthenticate(struct mwifiex_private *priv, u8 *mac); |
930 | void mwifiex_deauthenticate_all(struct mwifiex_adapter *adapter); | ||
930 | int mwifiex_adhoc_start(struct mwifiex_private *priv, | 931 | int mwifiex_adhoc_start(struct mwifiex_private *priv, |
931 | struct cfg80211_ssid *adhoc_ssid); | 932 | struct cfg80211_ssid *adhoc_ssid); |
932 | int mwifiex_adhoc_join(struct mwifiex_private *priv, | 933 | int mwifiex_adhoc_join(struct mwifiex_private *priv, |