iwlwifi: Fix HT compilation breakage caused by cfg80211 API for channels/bitrates patch
This patch fixes compilation breakage caused by 'cfg80211 API for channels/bitrates' patch. however it doesn't fix the driver's functional problems caused by that patch. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
b86af631b8
commit
78330fddec
@@ -464,7 +464,7 @@ static void rs_tx_status(void *priv_rate,
|
||||
IWL_DEBUG_RATE("enter\n");
|
||||
|
||||
retries = tx_resp->retry_count;
|
||||
|
||||
/* FIXME : this is wrong */
|
||||
first_index = &sband->bitrates[0] - tx_resp->control.tx_rate;
|
||||
if ((first_index < 0) || (first_index >= IWL_RATE_COUNT)) {
|
||||
IWL_DEBUG_RATE("leave: Rate out of bounds: %d\n", first_index);
|
||||
|
Reference in New Issue
Block a user