]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc0e7d6f079d7b50ed858a2758b961f29f270290
tree3ddffdcae111e491e2917ec3b252ef137efff0b8
parentc77cdddd5eaec15210fe5ae06dada4a082b0404e
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