Proper way to do warm-reset from the driver?

Kalle Valo kvalo at qca.qualcomm.com
Mon Mar 17 03:50:06 EDT 2014


Ben Greear <greearb at candelatech.com> writes:

> On my firmware, I am often seeing 'tx not flushed' errors after bouncing
> 32 stations a few times.
>
> It does not seem this error can ever be recovered because the
> reference counting is messed up.
>
> I am planning to attempt a warm reset in this case, in hopes it
> will clear things up.
>
> Is the preferred way to restart the nic just:
>
> queue_work(ar->workqueue, &ar->restart_work);

BTW, that call really should not be in ath10k_pci_hif_dump_area(). It's
very misleading to have a function name which implies just printing
stuff but actually also restarts firmware.

-- 
Kalle Valo



More information about the ath10k mailing list