Commit 29ed932f authored by Yeliz Taneroglu's avatar Yeliz Taneroglu Committed by Greg Kroah-Hartman

staging: rtl8723au: core: rtw_mlme: Add blank line after declarations

The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_mlme.c WARNING: Missing a blank line after declarations
Signed-off-by: default avatarYeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 96d92eb7
...@@ -1515,18 +1515,21 @@ void rtw_dynamic_check_timer_handler(unsigned long data) ...@@ -1515,18 +1515,21 @@ void rtw_dynamic_check_timer_handler(unsigned long data)
inline bool rtw_is_scan_deny(struct rtw_adapter *adapter) inline bool rtw_is_scan_deny(struct rtw_adapter *adapter)
{ {
struct mlme_priv *mlmepriv = &adapter->mlmepriv; struct mlme_priv *mlmepriv = &adapter->mlmepriv;
return (atomic_read(&mlmepriv->set_scan_deny) != 0) ? true : false; return (atomic_read(&mlmepriv->set_scan_deny) != 0) ? true : false;
} }
void rtw_clear_scan_deny(struct rtw_adapter *adapter) void rtw_clear_scan_deny(struct rtw_adapter *adapter)
{ {
struct mlme_priv *mlmepriv = &adapter->mlmepriv; struct mlme_priv *mlmepriv = &adapter->mlmepriv;
atomic_set(&mlmepriv->set_scan_deny, 0); atomic_set(&mlmepriv->set_scan_deny, 0);
} }
void rtw_set_scan_deny_timer_hdl(unsigned long data) void rtw_set_scan_deny_timer_hdl(unsigned long data)
{ {
struct rtw_adapter *adapter = (struct rtw_adapter *)data; struct rtw_adapter *adapter = (struct rtw_adapter *)data;
rtw_clear_scan_deny(adapter); rtw_clear_scan_deny(adapter);
} }
...@@ -2151,6 +2154,7 @@ bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie, ...@@ -2151,6 +2154,7 @@ bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
if (p && p[1] > 0) { if (p && p[1] > 0) {
u32 rx_packet_offset, max_recvbuf_sz; u32 rx_packet_offset, max_recvbuf_sz;
if (pmlmepriv->qos_option == 0) { if (pmlmepriv->qos_option == 0) {
out_len = *pout_len; out_len = *pout_len;
pframe = rtw_set_ie23a(out_ie + out_len, pframe = rtw_set_ie23a(out_ie + out_len,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment