iwlwifi: mvm: send all the NVM sections to the NIC
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 5 Jan 2014 13:09:44 +0000 (15:09 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 Jan 2014 20:17:15 +0000 (22:17 +0200)
Some NIC comes with more than the 4 NVM (non volative
memory) sections described in the nvm_to_read array.
These NICs usually get their NVM from an external file
fetched from userland during init.
We already parsed the file, but sent to the NIC only 4 NVM
sections whereas there could be more sections in the file.
Fix this.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/nvm.c