Cognitive inflexibility after meningitis was exacerbated by TLR2/4 deficiency. This evidence concerns the gene TLR2 and infectious meningitis.