Closed GustavoARSilva closed 4 years ago
It looks like nothing is actually using the auth_encr_pair bytes, so I'd agree with your patch! :)
Patch applied and waiting to be added to mainline: https://lore.kernel.org/lkml/20200512085336.B8DE4C433CB@smtp.codeaurora.org/
The patch is already upstream: rndis_wlan: Remove logically dead code
When replacing the zero-length array auth_encr_pair[0] with a flexible-array member in struct ndis_80211_capability:
the following error shows up:
This is due to the flexible-array member having incomplete type.
See flexible-array conversions issue.