Loading
msm: ipa3: fix setting USB state to invalid before count is 0
ipa3_usb_deinit_teth_prot should set USB state to invalid only if there
are no initialized protocols.
The set state operation is now performed only after verifying that the
initialized protocols number has reached zero.
Change-Id: Id61ac28ef34a03542f175efa5326cd014d37f9f4
Signed-off-by:
Amir Levy <alevy@codeaurora.org>