[PATCH 5.4 058/313] wifi: cfg80211: rewrite merging of inherited elements