staging: rtl8723au: rtw_surveydone_event_callback23a(): Remove superfluous memset()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen
2014-06-09 15:16:52 +02:00
committed by Greg Kroah-Hartman
parent 557f9a452d
commit ca3504be63

View File

@@ -751,8 +751,6 @@ rtw_surveydone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf)
("switching to adhoc "
"master\n"));
memset(&pdev_network->Ssid, 0,
sizeof(struct cfg80211_ssid));
memcpy(&pdev_network->Ssid,
&pmlmepriv->assoc_ssid,
sizeof(struct cfg80211_ssid));