From: Jes Sorensen Date: Mon, 9 Jun 2014 13:16:44 +0000 (+0200) Subject: staging: rtl8723au: rtw_set_ssid(): This is never called with _FW_UNDER_LINKING X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=70fbc1a8a191bb97c4a38ea105a92dd6cd20a140;p=linux-beck.git staging: rtl8723au: rtw_set_ssid(): This is never called with _FW_UNDER_LINKING Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index c03181dbc35b..5a8b88c968b1 100644 --- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c @@ -2004,8 +2004,6 @@ static int rtw_set_ssid(struct rtw_adapter *padapter, DBG_8723A("Set SSID under fw_state = 0x%08x\n", get_fwstate(pmlmepriv)); if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) goto handle_tkip_countermeasure; - else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) - goto release_mlme_lock; if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE)) { RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_,