iwlwifi: correct atomic bitops usage
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Apr 2010 11:12:38 +0000 (04:12 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 16 Apr 2010 20:46:50 +0000 (13:46 -0700)
commit6708dc863880777ffe5fc55c86bfd80f886f53d6
tree46fb6d2f844ab2f26a35c7a42eddf53e8779d8c8
parent00700ee007cf842ef2eb20201080ceddcfdaf9ad
iwlwifi: correct atomic bitops usage

With atomic bitops, test_and_{set,clear}_bit
should be used instead of separate test_bit
and set_bit/clear_bit.

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