|
| 1 | +diff --git a/drivers/net/wireless/rtl8192eu/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8192eu/os_dep/linux/ioctl_cfg80211.c |
| 2 | +index 4ccad87..a4ffe2c 100644 |
| 3 | +--- a/drivers/net/wireless/rtl8192eu/os_dep/linux/ioctl_cfg80211.c |
| 4 | ++++ b/drivers/net/wireless/rtl8192eu/os_dep/linux/ioctl_cfg80211.c |
| 5 | +@@ -5237,7 +5237,7 @@ const char *_nl80211_mesh_power_mode_str[] = { |
| 6 | + #define nl80211_mesh_power_mode_str(_p) ((_p <= NL80211_MESH_POWER_MAX) ? _nl80211_mesh_power_mode_str[_p] : _nl80211_mesh_power_mode_str[0]) |
| 7 | + #endif |
| 8 | + |
| 9 | +-void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params) |
| 10 | ++static void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params) |
| 11 | + { |
| 12 | + #if DBG_RTW_CFG80211_STA_PARAM |
| 13 | + if (params->supported_rates_len) { |
| 14 | +@@ -5766,7 +5766,7 @@ exit: |
| 15 | + return ret; |
| 16 | + } |
| 17 | + |
| 18 | +-struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num) |
| 19 | ++static struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num) |
| 20 | + { |
| 21 | + _list *phead, *plist; |
| 22 | + struct sta_info *psta = NULL; |
| 23 | +@@ -9805,7 +9805,7 @@ int rtw_hostapd_acs_dump_survey(struct wiphy *wiphy, struct net_device *netdev, |
| 24 | + #endif /* defined(CONFIG_RTW_HOSTAPD_ACS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33)) */ |
| 25 | + |
| 26 | + #if (KERNEL_VERSION(4, 17, 0) <= LINUX_VERSION_CODE) |
| 27 | +-int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev, |
| 28 | ++static int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev, |
| 29 | + struct cfg80211_external_auth_params *params) |
| 30 | + { |
| 31 | + PADAPTER padapter = (_adapter *)rtw_netdev_priv(dev); |
| 32 | +diff --git a/drivers/net/wireless/rtl8192eu/os_dep/linux/usb_ops_linux.c b/drivers/net/wireless/rtl8192eu/os_dep/linux/usb_ops_linux.c |
| 33 | +index f09e332..2c61cc0 100644 |
| 34 | +--- a/drivers/net/wireless/rtl8192eu/os_dep/linux/usb_ops_linux.c |
| 35 | ++++ b/drivers/net/wireless/rtl8192eu/os_dep/linux/usb_ops_linux.c |
| 36 | +@@ -664,7 +664,7 @@ void usb_recv_tasklet(void *priv) |
| 37 | + } |
| 38 | + } |
| 39 | + |
| 40 | +-void usb_read_port_complete(struct urb *purb, struct pt_regs *regs) |
| 41 | ++static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs) |
| 42 | + { |
| 43 | + struct recv_buf *precvbuf = (struct recv_buf *)purb->context; |
| 44 | + _adapter *padapter = (_adapter *)precvbuf->adapter; |
| 45 | +@@ -817,7 +817,7 @@ void usb_recv_tasklet(void *priv) |
| 46 | + } |
| 47 | + } |
| 48 | + |
| 49 | +-void usb_read_port_complete(struct urb *purb, struct pt_regs *regs) |
| 50 | ++static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs) |
| 51 | + { |
| 52 | + struct recv_buf *precvbuf = (struct recv_buf *)purb->context; |
| 53 | + _adapter *padapter = (_adapter *)precvbuf->adapter; |
0 commit comments