Skip to content

Commit

Permalink
net: wireless: bcmdhd: Increase PNO wakelock to 7 sec
Browse files Browse the repository at this point in the history
Change-Id: Ife7bac08d16e19b37d16f697e4ad9765ca6efbb7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
  • Loading branch information
Dmitry Shmidt authored and stratosk committed Dec 28, 2012
1 parent d698ade commit 9203189
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/wireless/bcmdhd/dhd_linux.c
Expand Up @@ -1539,14 +1539,14 @@ dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *pktbuf, int numpkt, uint8 chan)
wl_event_to_host_order(&event);
if (!tout_ctrl)
tout_ctrl = DHD_PACKET_TIMEOUT_MS;
if (event.event_type == WLC_E_BTA_HCI_EVENT) {
dhd_bta_doevt(dhdp, data, event.datalen);
}
#ifdef PNO_SUPPORT
if (event.event_type == WLC_E_PFN_NET_FOUND) {
tout_ctrl *= 2;
tout_ctrl = 7 * DHD_PACKET_TIMEOUT_MS;
}
#endif /* PNO_SUPPORT */
if (event.event_type == WLC_E_BTA_HCI_EVENT) {
dhd_bta_doevt(dhdp, data, event.datalen);
}
} else {
tout_rx = DHD_PACKET_TIMEOUT_MS;
}
Expand Down

0 comments on commit 9203189

Please sign in to comment.