|
@@ -122,10 +122,8 @@ void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
|
|
{
|
|
{
|
|
rtw_free_mlme_priv_ie_data(pmlmepriv);
|
|
rtw_free_mlme_priv_ie_data(pmlmepriv);
|
|
|
|
|
|
- if (pmlmepriv) {
|
|
|
|
- if (pmlmepriv->free_bss_buf)
|
|
|
|
- vfree(pmlmepriv->free_bss_buf);
|
|
|
|
- }
|
|
|
|
|
|
+ if (pmlmepriv)
|
|
|
|
+ vfree(pmlmepriv->free_bss_buf);
|
|
}
|
|
}
|
|
|
|
|
|
struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv)
|
|
struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv)
|