mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-29 15:43:38 +00:00
rtl8188eu: Fix Sparse problems in core/rtw_mlme_ext.c
Sparse reports the following: CHECK /home/finger/rtl8188eu/core/rtw_mlme_ext.c /home/finger/rtl8188eu/core/rtw_mlme_ext.c:9446:6: warning: symbol '_linked_rx_signal_strehgth_display' was not declared. Should it be static? /home/finger/rtl8188eu/core/rtw_mlme_ext.c:8520:6: warning: context imbalance in 'start_clnt_join' - different lock contexts for basic block The second warning was due to the failure to unlock a spin lock in a error path. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
efddeb40e2
commit
cc88df7da3
1 changed files with 2 additions and 1 deletions
|
@ -8562,6 +8562,7 @@ void start_clnt_join(struct adapter* padapter)
|
|||
|
||||
scanned = LIST_CONTAINOR(pos, struct wlan_network, list);
|
||||
if(scanned==NULL) {
|
||||
spin_unlock_bh(&(padapter->mlmepriv.scanned_queue.lock));
|
||||
rtw_warn_on(1);
|
||||
return;
|
||||
}
|
||||
|
@ -9443,7 +9444,7 @@ void mlmeext_sta_del_event_callback(struct adapter *padapter)
|
|||
Following are the functions for the timer handlers
|
||||
|
||||
*****************************************************************************/
|
||||
void _linked_rx_signal_strehgth_display(struct adapter *padapter)
|
||||
static void _linked_rx_signal_strehgth_display(struct adapter *padapter)
|
||||
{
|
||||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
|
|
Loading…
Reference in a new issue