Ethan Pinnock had put Brentford ahead in first half stoppage time.