[PATCH 1/2] ath10k: don't remove peer that doesn't exist

Kalle Valo kvalo at qca.qualcomm.com
Thu Aug 13 04:31:20 PDT 2015


Michal Kazior <michal.kazior at tieto.com> writes:

> If peer creation failed during offchannel Tx the
> driver attempted to delete the peer nonetheless.
> This caused the ar->num_peers counter to be
> incorrectly decremented. This subsequently could
> cause the counter to drop below 0 and also
> eventually lead to firmware crash because host
> would think there are less peer entries created in
> firmware then there really were.
>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>

Thanks, applied.

-- 
Kalle Valo



More information about the ath10k mailing list