commit | ea9f10f2fd207bb70a730ee3b356f75bc00ff41d | [log] [tgz] |
---|---|---|
author | Larry Finger <Larry.Finger@lwfinger.net> | Fri Apr 20 14:45:37 2012 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 20 15:12:12 2012 -0700 |
tree | 596f5b722bce64c01164f0107fbd8b18b5d104fa | |
parent | ef2353d26bdc44c78713da1a6eb2325ba9dac6f7 [diff] |
staging: r8192e_pci: Change memcpy to memcmp Routine rtllib_MlmeDisassociateRequest() has a comparison of memcpy() with NULL, which makes no sense. Analysis of the code suggests that memcmp() was intended. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>