The long thoracic nerve supplies motor innervation to the serratus anterior muscle . Palsy of this nerve causes winging of the scapula.