aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/include/sta_info.h
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2019-10-26 14:11:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-26 20:45:47 +0200
commit4e6f391fde3410fb4141261d45333217c22230d4 (patch)
treeca16d7c483506bcab6daa22336be598aff5dfb8d /drivers/staging/rtl8188eu/include/sta_info.h
parentstaging: rtl8188eu: rename array bcast_addr (diff)
downloadlinux-dev-4e6f391fde3410fb4141261d45333217c22230d4.tar.xz
linux-dev-4e6f391fde3410fb4141261d45333217c22230d4.zip
staging: rtl8188eu: convert rtw_access_ctrl to return bool
Function rtw_access_ctrl returns boolean values, so change the return type to bool. Also convert the local variables that are used for the return value from u8 to bool. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20191026121135.181897-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/rtl8188eu/include/sta_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/sta_info.h b/drivers/staging/rtl8188eu/include/sta_info.h
index dc685a14aeb8..6165adafc451 100644
--- a/drivers/staging/rtl8188eu/include/sta_info.h
+++ b/drivers/staging/rtl8188eu/include/sta_info.h
@@ -354,6 +354,6 @@ void rtw_free_all_stainfo(struct adapter *adapt);
struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
u32 rtw_init_bcmc_stainfo(struct adapter *adapt);
struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter);
-u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr);
+bool rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr);
#endif /* _STA_INFO_H_ */