staging: r8712u: cleanup pointer type in r8712_setassocsta_cmd()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Oct 2012 12:30:06 +0000 (15:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:36:06 +0000 (09:36 -0700)
commitdb9d1f6dd2601aee860304ffc1023a7d5709f314
treefb52371bcd1378a386844177b70226507ac1f5d8
parente33909c6d43b3f3913a5d5a370d9ff1335e4bd58
staging: r8712u: cleanup pointer type in r8712_setassocsta_cmd()

This seems like a cut and paste bug.  Smatch complains that we don't
allocate enough memory for a set_stakey_rsp struct.  In fact this is
used as a set_assocsta_rsp struct throughout and that also matches the
name of the function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_cmd.c