wifi: mac80211: mlme: don't add empty EML capabilities
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Sat, 30 Jul 2022 00:51:08 +0000 (03:51 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:41:20 +0000 (10:41 +0200)
commit1cb3cf372abe4a0d16620d2b1201de0e291a6c58
treecdffea08bc382b28dc418ff1ebba7036c60037dd
parent4f6c78de324b971494c5bbf2cae88b414ea88853
wifi: mac80211: mlme: don't add empty EML capabilities

Draft P802.11be_D2.1, section 35.3.17 states that the EML Capabilities
Field shouldn't be included in case the device doesn't have support for
EMLSR or EMLMR.

Fixes: 81151ce462e5 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c