linux_dsm_epyc7002/drivers/net/wireless/ath/wcn36xx
Michal Nazarewicz 90accd0b47 net: wirelesse: wcn36xx: pull allocation outside of critical section
Commit [3469adb3: fix potential NULL pointer dereference] introduced
a check of msg_ind allocation, but omitted allocation of msg_ind->msg.
Moreover, it introduced two if statements, which looked a bit clunky.

This commit moves allocation code outside of the critical section so
there's no need to dance around mutex_unlock, and adds the missing
allocation check.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-12-18 15:18:19 -05:00
..
debug.c wcn36xx: harmless memory corruption bug in debugfs 2013-11-11 14:42:46 -05:00
debug.h
dxe.c
dxe.h
hal.h wcn36xx: fix typo error 2013-12-05 14:56:42 -05:00
Kconfig
main.c wcn36xx: enable beacon change using BSS_CHANGED_BEACON 2013-12-05 14:54:55 -05:00
Makefile
pmc.c
pmc.h
smd.c net: wirelesse: wcn36xx: pull allocation outside of critical section 2013-12-18 15:18:19 -05:00
smd.h
txrx.c
txrx.h
wcn36xx.h wcn36xx: Fix logging macro with unnecessary semicolon 2013-12-05 14:54:57 -05:00