This reverts commit 7bccf2f997.
Reason for revert:
It is necessary for P2p connection.
Application need to update WpsInfo in WifiP2pConfig when trigger p2p connection
API:
public void connect(Channel c, WifiP2pConfig config, ActionListener listener) {
Bug: 80105789
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I0c881627eaee7a7313db6b9805dd6cdb03547df0