iwlwifi: remove mac_addr assignment
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 May 2010 10:33:10 +0000 (03:33 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Sun, 6 Jun 2010 06:13:45 +0000 (23:13 -0700)
commit30eabc1736c79d9b617887042ebebc0141a14170
tree3ddffdcae111e491e2917ec3b252ef137efff0b8
parent6dea887f2b39e9a858f05e84483da0f4d5b35024
iwlwifi: remove mac_addr assignment

priv->mac_addr is the address of the operating
interface, not the permanent MAC address. They
are usually the same, but the user can override
the operating address, so we shouldn't set the
variable to the permanent one, it is assigned
when an interface is added.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c