Mathias Krause 9b00b4157f wl12xx: fix use after free
When DEBUG_SPI is included in the debug log level wl1271_spi_reset()
will dump the already freed memory instead of the SPI buffer.

This bug was spotted by the semantic patch tool coccinelle using the
script found at scripts/coccinelle/free/kfree.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-31 14:48:15 -05:00
..
2011-01-02 15:31:11 -08:00
2011-01-31 14:48:15 -05:00
2010-12-24 01:28:54 -07:00
2010-12-04 11:18:25 -05:00
2010-12-17 15:18:05 +01:00
2011-01-06 22:32:03 +00:00