Johannes Berg 1924b4e294 b43: use temporary rate_index for error checking
The mac80211 rate_index changed to be a u8, so
can't hold the negative error value properly.
Use a temporary variable for error checking.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-07-17 15:11:31 -04:00
..
2012-05-16 12:45:21 -04:00
2011-08-26 10:47:57 -04:00
2011-09-27 14:34:02 -04:00
2011-09-19 16:10:14 -04:00
2012-07-09 16:36:36 -04:00
2011-09-27 14:34:02 -04:00
2011-11-07 13:19:12 -05:00