iwlwifi: mvm: assure no overflows occur while reading otp
authorLiad Kaufman <liad.kaufman@intel.com>
Wed, 21 May 2014 11:37:00 +0000 (14:37 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Jun 2014 18:55:34 +0000 (21:55 +0300)
commit5daddc99024b952bb4e66452febd2175fff8d26e
tree77496db74c7ce5126ebf126932ab8d4e96c9e61b
parentf251c07c88513c02d9f815e16bcbace0e95a5fe0
iwlwifi: mvm: assure no overflows occur while reading otp

Just in case sizes change in the OTP without proper SW
updating, an additional check is inserted when reading OTP
sections to assure no overflows occur.

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