iwlwifi: mvm: support NVM file with header
authorIdan Kahlon <idanx.kahlon@intel.com>
Thu, 13 Nov 2014 13:47:20 +0000 (15:47 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Dec 2014 10:04:43 +0000 (12:04 +0200)
commita4e5df283c9a84b29100a046e64f35bfb1660a9c
tree416f101c74ae1c2331b25ea4aa2d92483beca537
parent8ed4e659f34c963f7398ca1c92a1ab9593afba83
iwlwifi: mvm: support NVM file with header

Handle NVM file header. When NVM header detected, skip
the header and reading only the sections data.

Signed-off-by: Idan Kahlon <idanx.kahlon@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/nvm.c