qtnfmac: fix free_xfer_buffer cleanup
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 29 Aug 2017 12:16:22 +0000 (15:16 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 31 Aug 2017 12:57:39 +0000 (15:57 +0300)
commitb00edea3ed5fd4241d211671602d7a39d9482295
tree7144eb1ecb476d8c803026b21d402773cd148ba2
parentbab5dac73c08e0a18717756c4aff6417279bf2f9
qtnfmac: fix free_xfer_buffer cleanup

Check if skb tracking arrays has been already allocated. This additional
check handles the case when init partially failed.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c