Skip to content

Commit

Permalink
net: wireless: bcmdhd: Change singal pending return value from -110 t…
Browse files Browse the repository at this point in the history
…o -4

- ETIMEDOUT is interpreted as FW is not responding,
  so return EINTR instead

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
  • Loading branch information
Dmitry Shmidt authored and fosser2 committed May 20, 2012
1 parent a600c64 commit aa86ead
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/bcmdhd/dhd_sdio.c
Expand Up @@ -1481,9 +1481,9 @@ dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen)
dhd_os_sdunlock(bus->dhd);
#endif /* DHD_DEBUG */
} else if (pending == TRUE) {
/* possibly fw hangs so never responsed back */
DHD_ERROR(("%s: pending or timeout \n", __FUNCTION__));
return -ETIMEDOUT;
/* signal pending */
DHD_ERROR(("%s: signal pending\n", __FUNCTION__));
return -EINTR;
} else {
DHD_CTL(("%s: resumed for unknown reason?\n", __FUNCTION__));
#ifdef DHD_DEBUG
Expand Down

0 comments on commit aa86ead

Please sign in to comment.