[PATCH 6.1 112/591] wifi: cfg80211: rewrite merging of inherited elements