Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150885
b: refs/heads/master
c: 0bcfc5e
h: refs/heads/master
i:
  150883: 7988b05
v: v3
  • Loading branch information
Cindy H Kao authored and Inaky Perez-Gonzalez committed Jun 11, 2009
1 parent 1150558 commit 5d5e022
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b5b30ee7ddc989b59ce05dcf2d024a819dc8040
refs/heads/master: 0bcfc5ef016e8217709c65c5a7335e40ceabc99c
2 changes: 1 addition & 1 deletion trunk/drivers/net/wimax/i2400m/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ struct sk_buff *i2400m_msg_to_dev(struct i2400m *i2400m,

rmb(); /* Make sure we see what i2400m_dev_reset_handle() */
if (i2400m->boot_mode)
return ERR_PTR(-ENODEV);
return ERR_PTR(-EL3RST);

msg_l3l4_hdr = buf;
/* Check msg & payload consistency */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wimax/i2400m/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ int __i2400m_dev_start(struct i2400m *i2400m, enum i2400m_bri flags)
i2400m_tx_release(i2400m);
error_tx_setup:
error_bootstrap:
if (result == -ERESTARTSYS && times-- > 0) {
if (result == -EL3RST && times-- > 0) {
flags = I2400M_BRI_SOFT|I2400M_BRI_MAC_REINIT;
goto retry;
}
Expand Down Expand Up @@ -560,7 +560,7 @@ void __i2400m_dev_reset_handle(struct work_struct *ws)
* i2400m_dev_stop() [we are shutting down anyway, so
* ignore it] or we are resetting somewhere else. */
dev_err(dev, "device rebooted\n");
i2400m_msg_to_dev_cancel_wait(i2400m, -ERESTARTSYS);
i2400m_msg_to_dev_cancel_wait(i2400m, -EL3RST);
complete(&i2400m->msg_completion);
goto out;
}
Expand Down

0 comments on commit 5d5e022

Please sign in to comment.