iwlwifi: fix check for a single rx antenna
authorEyal Shapira <eyal@wizery.com>
Thu, 7 Nov 2013 17:38:04 +0000 (19:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:05 +0000 (22:29 +0200)
commita7b8b2ca916ca4ecf248fa12275eeceff510ad22
tree5ef69e29b52d9781811a36a99bed585f1a409f08
parent84c317c9b09f757b4c4a4fb38549ac54d1559419
iwlwifi: fix check for a single rx antenna

valid_rx_ant is a bitmask of available antennas and not the number
of Rx antennas. Use num_of_ant and remove duplicate definitions
in both dvm and mvm.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/dvm/rs.h
drivers/net/wireless/iwlwifi/iwl-config.h
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/iwlwifi/mvm/rs.h