Change-Id: Ife7bac08d16e19b37d16f697e4ad9765ca6efbb7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
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;
}