iwlwifi: dvm: fix chain noise calibration
authorNikolay Martynov <mar.kolya@gmail.com>
Fri, 31 May 2013 05:29:12 +0000 (01:29 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 11:14:08 +0000 (13:14 +0200)
commitb28b6dfe580ab1ab8bf08b908fd69e299b877103
tree80f6bb389b6432f699fd6e8a9d67653cca4346ba
parent8edf3fd6eb0649b0f19363baf23bca39c6fbdba4
iwlwifi: dvm: fix chain noise calibration

First step of chain noise calibration process had disable flag
check inverted. Chain noise calibration never started because
of this.

Tested on intel 5300 with two antennas attached. The driver
correctly disabled one chain.

Cc: stable@vger.kernel.org
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/rxon.c