Process for the production of crosslinked, hole-conducting electrical layers by the reaction of functionalised p-dopants, where the functionalised p-dopants are organic metal complexes which comprise at least one central atom and organic ligands, where the central atom is selected from a metal from groups 6-15 of the Periodic Table and at least one of the organic ligands is selected from the following formulae I-V: where the E are, independently of one another, oxygen, sulfur, selenium or N(E 1) x, where E 1 is selected, independently of one another, from the group comprising H, D, substituted or unsubstituted alkyl or aryl and x = 0, 1 or 2; R are, independently of one another, H, D, F, C1-C20 branched or unbranched substituted or unsubstituted alkyl or aryl; R V are in each case selected, independently of one another, from the group comprising substituted or unsubstituted aryl, alkyl, alkoxy, cycloalkyl, arylene, haloaryl, heteroaryl, heteroarylene, heterocycloalkylene, heterocycloalkyl, haloheteroaryl, alkenyl, haloalkenyl, alkynyl, haloalkynyl, ketoaryl, haloketoaryl, ketoheteroaryl, ketoalkyl, haloketoalkyl, ketoalkenyl, haloketoalkenyl and - each R V in each case has at least one functionalising radical selected from the group R F comprising -OH, -COOH, -NH 2, -NHR', halogen, C2-C40-alkenyl, -dienyl, -alkynyl, -alkenyloxy, -dienyloxy, -alkynyloxy, acrylic acid, oxetane, oxirane, silane, acrylic acid anhydride and cyclobutane or consists of these radicals; where R` is a C1-C20 branched, unbranched, substituted or unsubstituted alkyl or aryl; - G=-C(R F) u H v F w where u+v+w = 3; - and n = 1 - 4, where the functionalised p-dopants are reacted with one another and crosslink and the functionalised p-dopants are substituted by different radicals R F, where some p-dopants have an epoxide or oxetane group as R F within R V or G and the other p-dopants have an NH 2 group or an NHR` group as R F within R V or G, or where the functionalised p-dopants are reacted with functionalised hole conductors and the functionalised hole conductors likewise have at least one radical from the group R F or R V, where the functionalised p-dopants have an epoxide or oxetane group as R F within R V or G and the functionalised hole conductors have at least one NH 2 group and/or NHR` group within the group R F or R V, or where the functionalised p-dopants are reacted with functionalised hole conductors and the functionalised hole conductors likewise have at least one radical from the group R F or R V, where the functionalised p-dopants have an NH 2 group and/or NHR` group as R F within R V or G and the functionalised hole conductors have an epoxide or oxetane group within the group R F or R V. the E are, independently of one another, oxygen, sulfur, selenium or N(E 1) x, where E 1 is selected, independently of one another, from the group comprising H, D, substituted or unsubstituted alkyl or aryl and x = 0, 1 or 2; R are, independently of one another, H, D, F, C1-C20 branched or unbranched substituted or unsubstituted alkyl or aryl; R V are in each case selected, independently of one another, from the group comprising substituted or unsubstituted aryl, alkyl, alkoxy, cycloalkyl, arylene, haloaryl, heteroaryl, heteroarylene, heterocycloalkylene, heterocycloalkyl, haloheteroaryl, alkenyl, haloalkenyl, alkynyl, haloalkynyl, ketoaryl, haloketoaryl, ketoheteroaryl, ketoalkyl, haloketoalkyl, ketoalkenyl, haloketoalkenyl and - each R V in each case has at least one functionalising radical selected from the group R F comprising -OH, -COOH, -NH 2, -NHR', halogen, C2-C40-alkenyl, -dienyl, -alkynyl, -alkenyloxy, -dienyloxy, -alkynyloxy, acrylic acid, oxetane, oxirane, silane, acrylic acid anhydride and cyclobutane or consists of these radicals; where R` is a C1-C20 branched, unbranched, substituted or unsubstituted alkyl or aryl; - G=-C(R F) u H v F w where u+v+w = 3; - and n = 1 - 4, where the functionalised p-dopants are reacted with one another and crosslink and the functionalised p-dopants are substituted by different radicals R F, where some p-dopants have an epoxide or oxetane group as R F within R V or G and the other p-dopants have an NH 2 group or an NHR` group as R F within R V or G, or where the functionalised p-dopants are reacted with functionalised hole conductors and the functionalised hole conductors likewise have at least one radical from the group R F or R V, where the functionalised p-dopants have an epoxide or oxetane group as R F within R V or G and the functionalised hole conductors have at least one NH 2 group and/or NHR` group within the group R F or R V, or where the functionalised p-dopants are reacted with functionalised hole conductors and the functionalised hole conductors likewise have at least one radical from the group R F or R V, where the functionalised p-dopants have an NH 2 group and/or NHR` group as R F within R V or G and the functionalised hole conductors have an epoxide or oxetane group within the group R F or R V.