document: The hosts took the lead when Ryan Flynn drove towards the box and curled into the bottom corner.
  Northern Ireland striker Will Grigg levelled for Wigan after a corner was not cleared, before visiting defender Jake Buxton saw red for a late tackle.
  League One's Oldham regained the lead when Josh Law drilled in his first goal since joining in pre-season.
  Match ends, Oldham Athletic 2, Wigan Athletic 1.
  Second Half ends, Oldham Athletic 2, Wigan Athletic 1.
  Corner,  Oldham Athletic. Conceded by Donervon Daniels.
  Foul by Ryan Flynn (Oldham Athletic).
  Donervon Daniels (Wigan Athletic) wins a free kick in the defensive half.
  Attempt missed. Jake Cassidy (Oldham Athletic) header from the centre of the box is close, but misses to the left.
  Foul by Oliver Banks (Oldham Athletic).
  Michael Jacobs (Wigan Athletic) wins a free kick in the attacking half.
  Substitution, Oldham Athletic. Jake Cassidy replaces Lee Erwin.
  Substitution, Wigan Athletic. Danny O'Brien replaces Tim Chow.
  Substitution, Wigan Athletic. Sam Cosgrove replaces Ryan Colclough.
  Corner,  Wigan Athletic. Conceded by Josh Law.
  Goal!  Oldham Athletic 2, Wigan Athletic 1. Josh Law (Oldham Athletic) right footed shot from the right side of the six yard box to the bottom right corner. Assisted by Ryan Flynn.
  Corner,  Wigan Athletic. Conceded by Oliver Banks.
  Ryan Colclough (Wigan Athletic) wins a free kick in the defensive half.
  Foul by Oliver Banks (Oldham Athletic).
  Attempt saved. Ryan Flynn (Oldham Athletic) left footed shot from the left side of the six yard box is saved in the bottom left corner.
  Ousmane Fane (Oldham Athletic) wins a free kick in the defensive half.
  Foul by Ryan Colclough (Wigan Athletic).
  Substitution, Wigan Athletic. James Barrigan replaces William Grigg.
  Attempt missed. Michael Jacobs (Wigan Athletic) right footed shot from the centre of the box is close, but misses to the right.
  Michael Jacobs (Wigan Athletic) wins a free kick in the defensive half.
  Foul by Paul Green (Oldham Athletic).
  Attempt missed. Cameron Burgess (Oldham Athletic) header from the centre of the box is close, but misses to the right.
  Corner,  Oldham Athletic. Conceded by Tim Chow.
  Corner,  Oldham Athletic. Conceded by David Perkins.
  Substitution, Oldham Athletic. Oliver Banks replaces Marc Klok.
  Foul by Ousmane Fane (Oldham Athletic).
  Ryan Colclough (Wigan Athletic) wins a free kick in the defensive half.
  Attempt saved. Lee Erwin (Oldham Athletic) left footed shot from the centre of the box is saved in the bottom left corner.
  Attempt saved. Lee Erwin (Oldham Athletic) header from the centre of the box is saved in the bottom left corner.
  Attempt saved. Josh Law (Oldham Athletic) left footed shot from the centre of the box is saved in the centre of the goal.
  Attempt missed. Ryan Flynn (Oldham Athletic) left footed shot from outside the box is just a bit too high.
  Foul by Josh Law (Oldham Athletic).
  William Grigg (Wigan Athletic) wins a free kick in the defensive half.
  Attempt missed. Ryan Colclough (Wigan Athletic) left footed shot from the left side of the box is close, but misses to the left.
  Ryan Flynn (Oldham Athletic) wins a free kick on the left wing.
  Foul by Michael Jacobs (Wigan Athletic).
  Michael Jacobs (Wigan Athletic) wins a free kick in the defensive half.
  Foul by Paul Green (Oldham Athletic).
summary: Oldham Athletic overcame 10-man Championship side Wigan Athletic to reach the EFL Cup second round.