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

2015-08-13 Thread Kalle Valo
Michal Kazior michal.kaz...@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

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

2015-08-05 Thread Michal Kazior
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