iwlagn: use changed in mac_config
authorMohamed Abbas <mohamed.abbas@intel.com>
Wed, 18 Mar 2009 04:59:18 +0000 (21:59 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:57 +0000 (20:12 -0400)
commit019fb97d47896c0ead4a77f55e5350c2750f675f
treefd737071fdd2b923fcdc47a6ec7d44f4ea4f9c8d
parent3b85875a252dbbd95c2e04d73639719a0a79634e
iwlagn: use changed in mac_config

In function iwl_mac_config use changed flag to call only
the affected functions. This patch also allow user to cache
channel, txpower and power value when the interface is not
ready and apply the changes once the interface ready.

Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c