[PATCH 6.4 178/800] wifi: cfg80211: rewrite merging of inherited elements