commit | c0fb754bd81fafcd63644d5482ba9669d3e4fe9c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Nov 28 12:43:40 2014 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 01 15:57:21 2014 -0500 |
tree | a50074dec58a074476e5b5edbecb3a518c983bb3 | |
parent | dc50a52a36f459e0e3bed492d72a78bf64772c25 [diff] |
brcmsmac: NULL dereferences in brcms_c_detach_mfree() The brcms_c_attach_malloc() function can call this with a NULL "wlc->corestate" or "wlc->hw". Also I threw in a bonus cleanup by deleting an obvious comment and a no-op NULL assignment. :) Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>