staging: rtl8723au: rtw_cfg80211_set_wpa_ie(): Avoid pointless memcpy
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 9 Jun 2014 13:17:08 +0000 (15:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:07:30 +0000 (14:07 -0700)
commit7579a7e47d6572455c48f822dd47bd1993ec9d95
tree8bfb56d86da9dc00324d26eae88fa9a5d0b717f0
parent379878662637a1247f19caf938a22918d702b14b
staging: rtl8723au: rtw_cfg80211_set_wpa_ie(): Avoid pointless memcpy

There is no point copying a buffer, just to scan it and then free it
again.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c