From: Arik Nemtsov Date: Thu, 10 May 2012 09:13:54 +0000 (+0300) Subject: wlcore/wl12xx/18xx: split fw_status struct into two X-Git-Tag: v3.6-rc1~125^2~559^2~8^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0afd04e5e5d8db505fbb0f98c6306242c0006503;p=pandora-kernel.git wlcore/wl12xx/18xx: split fw_status struct into two The number of RX packet descriptors may vary from chip to chip and in different firmware versions. Unfortunately, the array that contains the actual descriptors is in the middle of the fw_status structure. To manage this, we split the struct into two so we can calculate the offset of what comes after the array and access the last elements more easily. [Changed the STATUS_LEN macro to be placement agnostic - Arik] Signed-off-by: Luciano Coelho Signed-off-by: Arik Nemtsov --- Reading git-diff-tree failed