iwlwifi: scan fix comment
This patch moves comment to proper line, it has moved during code shuffling. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
d588be6bae
commit
5118303f7c
@@ -843,7 +843,7 @@ static void iwl_bg_request_scan(struct work_struct *data)
|
|||||||
|
|
||||||
/* Force use of chains B and C (0x6) for scan Rx for 4965
|
/* Force use of chains B and C (0x6) for scan Rx for 4965
|
||||||
* Avoid A (0x1) because of its off-channel reception on A-band.
|
* Avoid A (0x1) because of its off-channel reception on A-band.
|
||||||
* MIMO is not used here, but value is required */
|
*/
|
||||||
if ((priv->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_4965)
|
if ((priv->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_4965)
|
||||||
rx_chain = 0x6;
|
rx_chain = 0x6;
|
||||||
} else {
|
} else {
|
||||||
@@ -851,6 +851,7 @@ static void iwl_bg_request_scan(struct work_struct *data)
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* MIMO is not used here, but value is required */
|
||||||
scan->rx_chain = RXON_RX_CHAIN_DRIVER_FORCE_MSK |
|
scan->rx_chain = RXON_RX_CHAIN_DRIVER_FORCE_MSK |
|
||||||
cpu_to_le16((0x7 << RXON_RX_CHAIN_VALID_POS) |
|
cpu_to_le16((0x7 << RXON_RX_CHAIN_VALID_POS) |
|
||||||
(rx_chain << RXON_RX_CHAIN_FORCE_SEL_POS) |
|
(rx_chain << RXON_RX_CHAIN_FORCE_SEL_POS) |
|
||||||
|
Reference in New Issue
Block a user