iwlwifi: mvm: rs: fix handling of column switch error
authorEyal Shapira <eyal@wizery.com>
Tue, 7 Jan 2014 16:19:35 +0000 (18:19 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 Jan 2014 16:42:54 +0000 (18:42 +0200)
commit75d3e2d693a695d2a9df27de697fb73cb3f34c23
treec34a6e560417850c28a814a378cd3c504147368d
parent91b0d1198417cf4fd9a7bd4138b6909f0b359099
iwlwifi: mvm: rs: fix handling of column switch error

If we can't switch to a column because no rates are supported
in that column this led to a state where the search cycle
got stuck and never ended. This in turn also led to aggregation
not being turned on. Fix this by marking a column as
visited if we can't switch to it.

Reported-and-tested-by: Karl Beldan <karl.beldan@gmail.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c