iwlwifi: mvm: fix bug in set_hw_address function
authorEran Harary <eran.harary@intel.com>
Wed, 7 May 2014 08:09:11 +0000 (11:09 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Jun 2014 18:55:31 +0000 (21:55 +0300)
commit6a68a39fcd3af3f8ae3d185a8a2c8a82cf0363ef
treef1a11cb1e1c2aa6cc1e679f8a6b6fd6123ea7f9b
parentc9e38e770981ff25d203f0f5c1423a863c484446
iwlwifi: mvm: fix bug in set_hw_address function

Don't use nvm_hw pointer if it is NULL. Print an error
message if the MAC address isn't valid.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c