summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-07-01 12:07:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-08 15:55:59 -0700
commit2786faa33bfc8d61b4fa45dd2e31664de796c837 (patch)
treee761e0586869cbc8ab85a56aaef13d0dc5febc59 /drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
parenta4f3d3c776140bb739353ca8614fd1105c696d97 (diff)
downloadlinux-stable-2786faa33bfc8d61b4fa45dd2e31664de796c837.tar.gz
linux-stable-2786faa33bfc8d61b4fa45dd2e31664de796c837.tar.bz2
linux-stable-2786faa33bfc8d61b4fa45dd2e31664de796c837.zip
staging: rtl8723au: Sanitize USB read/write functions
The original Realtek provided functions suffered badly from clutter to accommodate broken operating systems. Lets try this lean and clean version instead. v2: Do not use the stack for data passed to usb_control_msg(). This requires reintroducing the mutex used in the old function. In addition, get rid of the no longer used 'usb_vendor_req_buf'. Note that rtl8723au_writeN() remains unlocked, so it can be used for bulk block transfers without having to retake the mutex for every write(). Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c')
0 files changed, 0 insertions, 0 deletions