wilc1000: add 'initialized' flag check before adding an element to TX queue

Add 'initialized' variable check before adding net/mgmt packet to TX queue
as safety check before passing the commands to the firmware.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210916164902.74629-10-ajay.kathat@microchip.com
This commit is contained in:
Ajay Singh 2021-09-16 16:49:21 +00:00 • committed by Kalle Valo
commit cd50248de3
2 changed files with 13 additions and 0 deletions