OSDN Git Service

staging: rtl8723au: pass the cmd parm buffer directly to the cmd handler
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:10 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:56 +0000 (13:11 -0700)
commitc347dc6207f81dfbb95f426c783cb95899f710ab
tree699d74c64b96298308cbb8606a17a997e45894f1
parentea0c927d01b1d9e21d478d2d2ff0f39f8f606c00
staging: rtl8723au: pass the cmd parm buffer directly to the cmd handler

commit 0348dc74f6689825c16db40fbe0ce6ad2da5bab9 ensured that the parm
buffer passed to the cmd handlers is not being over-written. Hence
there is no need to make a copy of the parm buffer just to pass it
into the cmd handler.

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