From 1d7c67f0ec4db5cfa0c65f62d4660a8e32c2eeb5 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Mon, 16 Mar 2020 19:11:22 +0100 Subject: [PATCH] Fixed some static around --- core/rtw_sta_mgt.c | 2 +- core/rtw_wlan_util.c | 2 +- dkms.conf | 2 +- os_dep/linux/os_intfs.c | 4 ++-- os_dep/osdep_service.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/rtw_sta_mgt.c b/core/rtw_sta_mgt.c index 3a79e09..9b3c03f 100644 --- a/core/rtw_sta_mgt.c +++ b/core/rtw_sta_mgt.c @@ -41,7 +41,7 @@ inline void rtw_st_ctl_init(struct st_ctl_t *st_ctl) _rtw_init_queue(&st_ctl->tracker_q); } -inline void rtw_st_ctl_clear_tracker_q(struct st_ctl_t *st_ctl) +static inline void rtw_st_ctl_clear_tracker_q(struct st_ctl_t *st_ctl) { _irqL irqL; _list *plist, *phead; diff --git a/core/rtw_wlan_util.c b/core/rtw_wlan_util.c index b9a8944..4814717 100644 --- a/core/rtw_wlan_util.c +++ b/core/rtw_wlan_util.c @@ -1038,7 +1038,7 @@ exit: return ret; } -inline bool rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id) +static inline bool rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id) { _irqL irqL; bool ret; diff --git a/dkms.conf b/dkms.conf index a6d88b0..1c14127 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="realtek-rtl8188eus" -PACKAGE_VERSION="5.3.9~20200124" +PACKAGE_VERSION="5.3.9~20200316" CLEAN="'make' clean" BUILT_MODULE_NAME[0]=8188eu PROCS_NUM=`nproc` diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index d01b91b..caf020d 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -817,7 +817,7 @@ void rtw_regsty_load_target_tx_power(struct registry_priv *regsty) #endif /* CONFIG_IEEE80211_BAND_5GHZ */ } -inline void rtw_regsty_load_excl_chs(struct registry_priv *regsty) +static inline void rtw_regsty_load_excl_chs(struct registry_priv *regsty) { int i; int ch_num = 0; @@ -831,7 +831,7 @@ inline void rtw_regsty_load_excl_chs(struct registry_priv *regsty) } #ifdef CONFIG_80211N_HT -inline void rtw_regsty_init_rx_ampdu_sz_limit(struct registry_priv *regsty) +static inline void rtw_regsty_init_rx_ampdu_sz_limit(struct registry_priv *regsty) { int i, j; uint *sz_limit; diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index e5323f1..82a37d2 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -286,7 +286,7 @@ inline struct sk_buff *_rtw_skb_clone(struct sk_buff *skb) return skb_clone(skb); #endif /* PLATFORM_FREEBSD */ } -inline struct sk_buff *_rtw_pskb_copy(struct sk_buff *skb) +static inline struct sk_buff *_rtw_pskb_copy(struct sk_buff *skb) { #ifdef PLATFORM_LINUX #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36))