From: Michal Kazior Date: Thu, 25 Sep 2014 10:33:50 +0000 (+0200) Subject: ath10k: fix fw stats processing X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~71^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5326849a866991eef86452fb6a108dd320b92173;p=pandora-kernel.git ath10k: fix fw stats processing If stat data exceeds wmi-htc buffer limits firmware splits it into many wmi stats update events which are delivered in a ping-pong fashion triggered by wmi stats request command. Since there's only an implicit start-of-data and no end-of-data indications the driver has to perform some trickery to get complete stat data. kvalo: use %zu to fix a compiler warning and fix a typo in a comment Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed