iwlagn: check change before commit RXON cmd
authorShanyu Zhao <shanyu.zhao@intel.com>
Fri, 12 Nov 2010 21:48:13 +0000 (13:48 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 16 Nov 2010 15:47:22 +0000 (07:47 -0800)
commit6163a3735aad19bdb8d02b3362d3a2d7d2eb78d5
tree65556f3bd3040a3aea3004249b3426ef39a1a1e6
parent21a5b3c6b19a8b8972ccdd55389be28a8b7c9180
iwlagn: check change before commit RXON cmd

When setting rxon chain and filter, no need to commit RXON when the
chain flag is not changed. This reduces the number of RXON commands
we send down to uCode.

Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c