Skip to content

Commit

Permalink
Merge pull request #1327 from spark/feature/bring-back-part-of-1125
Browse files Browse the repository at this point in the history
Bring back part of #1125
  • Loading branch information
technobly authored May 10, 2017
2 parents 6fb7f0d + 755d78b commit 9584045
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions hal/src/photon/wlan_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,14 +720,9 @@ wlan_result_t wlan_activate()
wlan_result_t wlan_deactivate()
{
wlan_disconnect_now();
// FIXME:
// This was required for PR #1125 to reduce Wi-Fi power completely for Sleep stop mode
// however it introduced a new connectivity bug in LwIP that was unresolved in commit 87892a3837d4,
// which was reverted in commit 6b78d7662f62. WICED should be updated to pull in a newer version of LwIP
// before this change is attempted again.
// wiced_result_t result = wiced_wlan_connectivity_deinit();
// return result;
return 0;

wiced_result_t result = wiced_wlan_connectivity_deinit();
return result;
}

wlan_result_t wlan_disconnect_now()
Expand Down

0 comments on commit 9584045

Please sign in to comment.