InformationElementUtil: Handle malformed scan results

Malformed scan results will leave the |protocol|, |keyManagement| and
|pairwiseCipher| fields in inconsistent after IE parsing. Handle this
in the |generateCapabilitiesString()| method.
This CL restores the handling of these malformed scan results prior to
ag/2285932.

Bug: 62154614
Test: Unit tests
Change-Id: I1e8998c9d951c7dc4e2d7163c80091fd40ca3672
2 files changed
tree: c4be7eb5a1c5aed8027fdac013998edcbca6ee95
  1. service/
  2. PREUPLOAD.cfg