commit | 1924b4e294df4e97ad22557700e554af409569bc | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Jul 13 10:57:36 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jul 17 15:11:31 2012 -0400 |
tree | 46869522ffaede7244c7b9f30f730072a34d1c4f | |
parent | 00267d591b18fb550f0d63dba28daadf69f924fc [diff] |
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>