Which of the following OSI model layers is responsible for ensuring proper transmission of frames using a frame-check-sequence value?

A) Physical layer
B) Data link layer
C) Network layer
D) Transport layer