]> bbs.cooldavid.org Git - net-next-2.6.git/commit
iwlagn: prepare for new firmware file format
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Apr 2010 19:09:16 +0000 (12:09 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:08:55 +0000 (15:08 -0700)
commit0e9a44dc0bb718c28b20a48f551818036ef090ab
tree589b695db3bf371614b38f6305b2f53b57ebf1bc
parentd1358f62d47c9e872994e5c6e9c9d6e1f31d24c4
iwlagn: prepare for new firmware file format

Currently the first four bytes in a firmware file
indicate the major, minor and api versions as well
as the serial number. These combined can never be
zero, so we can use that special case for a new,
future, file format.

This patch simply shuffles the code and prepares
for that new format.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c