Merge "radio: tavarua: Use proper length to read the data"

This commit is contained in:
Linux Build Service Account
2013-05-21 06:13:10 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1009,7 +1009,7 @@ static void tavarua_handle_interrupts(struct tavarua_device *radio)
radio->xfr_in_progress = 0;
} else if (radio->xfr_bytes_left > 14) {
copy_from_xfr(radio, TAVARUA_BUF_SRCH_LIST,
XFR_REG_NUM);
RX_STATIONS0_LEN);
request_read_xfr(radio, RX_STATIONS_1);
} else if (radio->xfr_bytes_left) {
FMDBG("In else RX_STATIONS_0\n");
+1
View File
@@ -18,6 +18,7 @@
#define BYTES_PER_BLOCK (3)
#define MAX_PS_LENGTH (96)
#define MAX_RT_LENGTH (64)
#define RX_STATIONS0_LEN (15)
#define XFRDAT0 (0x20)
#define XFRDAT1 (0x21)