diff options
author | Vipin Mehta <vmehta@atheros.com> | 2011-02-18 13:13:14 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 13:28:52 -0800 |
commit | 98b6d2381a2812eba27a4cec3e8242262b0e5f01 (patch) | |
tree | aec29cbe7c6221c73f169017ae68bbd9efdea3af /drivers/staging/ath6kl/os/linux/include/ar6000_drv.h | |
parent | 9ea979d3b9e12e0f7f76153275e24c1d6cb389ab (diff) | |
download | op-kernel-dev-98b6d2381a2812eba27a4cec3e8242262b0e5f01.zip op-kernel-dev-98b6d2381a2812eba27a4cec3e8242262b0e5f01.tar.gz |
staging: ath6kl: Adding state in driver to track the sme state
Adding state in driver to track the sme state. The connect/disconnect
events from the driver were messing up the state maintained within the
cfg80211 module.
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/os/linux/include/ar6000_drv.h')
-rw-r--r-- | drivers/staging/ath6kl/os/linux/include/ar6000_drv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h index 339925a..f3b7344 100644 --- a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h +++ b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h @@ -393,6 +393,12 @@ struct ar_key { u8 seq_len; u32 cipher; }; + +enum { + SME_DISCONNECTED, + SME_CONNECTING, + SME_CONNECTED +}; #endif /* ATH6K_CONFIG_CFG80211 */ @@ -595,6 +601,7 @@ typedef struct ar6_softc { struct wireless_dev *wdev; struct cfg80211_scan_request *scan_request; struct ar_key keys[WMI_MAX_KEY_INDEX + 1]; + u32 smeState; #endif /* ATH6K_CONFIG_CFG80211 */ u16 arWlanPowerState; bool arWlanOff; |