diff options
-rw-r--r-- | drivers/atm/iphase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index ee9ddeb53417..8b358d7d958f 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c | |||
@@ -220,7 +220,7 @@ static u16 get_desc (IADEV *dev, struct ia_vcc *iavcc) { | |||
220 | while (!desc_num || (dev->desc_tbl[desc_num -1]).timestamp) { | 220 | while (!desc_num || (dev->desc_tbl[desc_num -1]).timestamp) { |
221 | dev->ffL.tcq_rd += 2; | 221 | dev->ffL.tcq_rd += 2; |
222 | if (dev->ffL.tcq_rd > dev->ffL.tcq_ed) | 222 | if (dev->ffL.tcq_rd > dev->ffL.tcq_ed) |
223 | dev->ffL.tcq_rd = dev->ffL.tcq_st; | 223 | dev->ffL.tcq_rd = dev->ffL.tcq_st; |
224 | if (dev->ffL.tcq_rd == dev->host_tcq_wr) | 224 | if (dev->ffL.tcq_rd == dev->host_tcq_wr) |
225 | return 0xFFFF; | 225 | return 0xFFFF; |
226 | desc_num = *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd); | 226 | desc_num = *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd); |