diff options
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_mlme.c | 3 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_mlme.h | 3 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 9 |
3 files changed, 4 insertions, 11 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c index f63f1c2d6ea4..d5b2f51dc715 100644 --- a/drivers/staging/rtl8188eu/core/rtw_mlme.c +++ b/drivers/staging/rtl8188eu/core/rtw_mlme.c | |||
@@ -1404,8 +1404,9 @@ void _rtw_join_timeout_handler (void *function_context) | |||
1404 | * rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey | 1404 | * rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey |
1405 | * @adapter: pointer to struct adapter structure | 1405 | * @adapter: pointer to struct adapter structure |
1406 | */ | 1406 | */ |
1407 | void rtw_scan_timeout_handler (struct adapter *adapter) | 1407 | void rtw_scan_timeout_handler (void *function_context) |
1408 | { | 1408 | { |
1409 | struct adapter *adapter = (struct adapter *)function_context; | ||
1409 | struct mlme_priv *pmlmepriv = &adapter->mlmepriv; | 1410 | struct mlme_priv *pmlmepriv = &adapter->mlmepriv; |
1410 | 1411 | ||
1411 | DBG_88E(FUNC_ADPT_FMT" fw_state=%x\n", FUNC_ADPT_ARG(adapter), get_fwstate(pmlmepriv)); | 1412 | DBG_88E(FUNC_ADPT_FMT" fw_state=%x\n", FUNC_ADPT_ARG(adapter), get_fwstate(pmlmepriv)); |
diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme.h b/drivers/staging/rtl8188eu/include/rtw_mlme.h index 40b0c4b1dac5..8f5457ba2fdc 100644 --- a/drivers/staging/rtl8188eu/include/rtw_mlme.h +++ b/drivers/staging/rtl8188eu/include/rtw_mlme.h | |||
@@ -436,7 +436,6 @@ void indicate_wx_scan_complete_event(struct adapter *padapter); | |||
436 | void rtw_indicate_wx_assoc_event(struct adapter *padapter); | 436 | void rtw_indicate_wx_assoc_event(struct adapter *padapter); |
437 | void rtw_indicate_wx_disassoc_event(struct adapter *padapter); | 437 | void rtw_indicate_wx_disassoc_event(struct adapter *padapter); |
438 | int event_thread(void *context); | 438 | int event_thread(void *context); |
439 | void _rtw_scan_timeout_handler(void *FunctionContext); | ||
440 | void rtw_free_network_queue(struct adapter *adapter, u8 isfreeall); | 439 | void rtw_free_network_queue(struct adapter *adapter, u8 isfreeall); |
441 | int rtw_init_mlme_priv(struct adapter *adapter); | 440 | int rtw_init_mlme_priv(struct adapter *adapter); |
442 | void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv); | 441 | void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv); |
@@ -553,7 +552,7 @@ void rtw_update_registrypriv_dev_network(struct adapter *adapter); | |||
553 | void rtw_get_encrypt_decrypt_from_registrypriv(struct adapter *adapter); | 552 | void rtw_get_encrypt_decrypt_from_registrypriv(struct adapter *adapter); |
554 | 553 | ||
555 | void _rtw_join_timeout_handler(void *function_context); | 554 | void _rtw_join_timeout_handler(void *function_context); |
556 | void rtw_scan_timeout_handler(struct adapter *adapter); | 555 | void rtw_scan_timeout_handler(void *function_context); |
557 | 556 | ||
558 | void rtw_dynamic_check_timer_handlder(struct adapter *adapter); | 557 | void rtw_dynamic_check_timer_handlder(struct adapter *adapter); |
559 | #define rtw_is_scan_deny(adapter) false | 558 | #define rtw_is_scan_deny(adapter) false |
diff --git a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c index 41d24598bf0a..0bfaa78adfbc 100644 --- a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c +++ b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c | |||
@@ -25,13 +25,6 @@ | |||
25 | #include <drv_types.h> | 25 | #include <drv_types.h> |
26 | #include <mlme_osdep.h> | 26 | #include <mlme_osdep.h> |
27 | 27 | ||
28 | void _rtw_scan_timeout_handler (void *FunctionContext) | ||
29 | { | ||
30 | struct adapter *adapter = (struct adapter *)FunctionContext; | ||
31 | |||
32 | rtw_scan_timeout_handler(adapter); | ||
33 | } | ||
34 | |||
35 | static void _dynamic_check_timer_handlder(void *FunctionContext) | 28 | static void _dynamic_check_timer_handlder(void *FunctionContext) |
36 | { | 29 | { |
37 | struct adapter *adapter = (struct adapter *)FunctionContext; | 30 | struct adapter *adapter = (struct adapter *)FunctionContext; |
@@ -47,7 +40,7 @@ void rtw_init_mlme_timer(struct adapter *padapter) | |||
47 | struct mlme_priv *pmlmepriv = &padapter->mlmepriv; | 40 | struct mlme_priv *pmlmepriv = &padapter->mlmepriv; |
48 | 41 | ||
49 | _init_timer(&(pmlmepriv->assoc_timer), padapter->pnetdev, _rtw_join_timeout_handler, padapter); | 42 | _init_timer(&(pmlmepriv->assoc_timer), padapter->pnetdev, _rtw_join_timeout_handler, padapter); |
50 | _init_timer(&(pmlmepriv->scan_to_timer), padapter->pnetdev, _rtw_scan_timeout_handler, padapter); | 43 | _init_timer(&(pmlmepriv->scan_to_timer), padapter->pnetdev, rtw_scan_timeout_handler, padapter); |
51 | _init_timer(&(pmlmepriv->dynamic_chk_timer), padapter->pnetdev, _dynamic_check_timer_handlder, padapter); | 44 | _init_timer(&(pmlmepriv->dynamic_chk_timer), padapter->pnetdev, _dynamic_check_timer_handlder, padapter); |
52 | } | 45 | } |
53 | 46 | ||