wifi: fix FT/EAP network detection am: 9196856ebc

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Wifi/+/15343072

Change-Id: I45e185d7d75322e8edde72d72642726ccec3dc81