From: Johannes Berg Date: Mon, 5 Mar 2012 19:24:39 +0000 (-0800) Subject: iwlwifi: don't pass iwl_rx_mem_buffer to upper layers X-Git-Tag: v3.4-rc1~177^2~108^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a2d66f58d2bf1818acf5ff7ed9897a9977a96e;p=pandora-kernel.git iwlwifi: don't pass iwl_rx_mem_buffer to upper layers struct iwl_rx_mem_buffer implementation details (DMA address, list pointers) that the upper layers don't need. Introduce iwl_rx_cmd_buffer that is passed upstream and only contains the needed data (the page). Additionally, access this data only via accessor functions, allowing us to change the implementation in the future. These accessors are rxb_addr() (as before) and rxb_steal_page() to take ownership of the data. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed