File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
drivers/net/wireless/intel/iwlwifi/mei Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -774,9 +774,13 @@ static void iwl_mei_set_init_conf(struct iwl_mei *mei)
774774 iwl_mei_send_sap_msg_payload (mei -> cldev , & sar_msg .hdr );
775775 }
776776
777- ether_addr_copy (nic_info_msg .mac_address , iwl_mei_cache .mac_address );
778- ether_addr_copy (nic_info_msg .nvm_address , iwl_mei_cache .nvm_address );
779- iwl_mei_send_sap_msg_payload (mei -> cldev , & nic_info_msg .hdr );
777+ if (is_valid_ether_addr (iwl_mei_cache .mac_address )) {
778+ ether_addr_copy (nic_info_msg .mac_address ,
779+ iwl_mei_cache .mac_address );
780+ ether_addr_copy (nic_info_msg .nvm_address ,
781+ iwl_mei_cache .nvm_address );
782+ iwl_mei_send_sap_msg_payload (mei -> cldev , & nic_info_msg .hdr );
783+ }
780784
781785 iwl_mei_send_sap_msg_payload (mei -> cldev , & rfkill_msg .hdr );
782786}
You can’t perform that action at this time.
0 commit comments