A method of controlling a buffer status report, BSR, the method comprising: establishing, by a wireless device (12; 1000), a radio resource control, RRC, connection with a base station (11; 1050), and receiving, from the base station (11; 1050), configuration information associated with a device to device, D2D, data transmission between the wireless device (12; 1000) and a second wireless device (12; 1000) and information of a resource selection mode, wherein the configuration information comprises information of a resource allocation mode for the D2D data transmission and information of a timer associated with a BSR for the D2D data transmission, and wherein in the resource allocation mode, the base station (11; 1050) allocates resources for the D2D data transmission, and wherein in the resource selection mode the wireless device (12; 1000) selects a resource for the D2D data transmission from a resource pool indicated by the information of the resource selection mode; triggering, by the wireless device (12; 1000), the BSR for the D2D data transmission; determining, by the wireless device (12; 1000), that a timer associated with a handover of the wireless device (12; 1000) is running; changing, based on the determining that the timer associated with the handover of the wireless device (12; 1000) is running, from the resource allocation mode to the resource selection mode; canceling, by the wireless device (12; 1000), based on the determining that the timer associated with a handover of the wireless device (12; 1000) is running, the triggered BSR for the D2D data transmission, wherein the canceled BSR for the D2D data transmission is associated with the D2D data transmission scheduled by the base station (11; 1050); and resetting, by the wireless device (12; 1000), the timer associated with the canceled BSR, wherein the timer associated with the canceled BSR comprises a periodic BSR-timer and a retransmission BSR-timer. establishing, by a wireless device (12; 1000), a radio resource control, RRC, connection with a base station (11; 1050), and receiving, from the base station (11; 1050), configuration information associated with a device to device, D2D, data transmission between the wireless device (12; 1000) and a second wireless device (12; 1000) and information of a resource selection mode, wherein the configuration information comprises information of a resource allocation mode for the D2D data transmission and information of a timer associated with a BSR for the D2D data transmission, and wherein in the resource allocation mode, the base station (11; 1050) allocates resources for the D2D data transmission, and wherein in the resource selection mode the wireless device (12; 1000) selects a resource for the D2D data transmission from a resource pool indicated by the information of the resource selection mode; triggering, by the wireless device (12; 1000), the BSR for the D2D data transmission; determining, by the wireless device (12; 1000), that a timer associated with a handover of the wireless device (12; 1000) is running; changing, based on the determining that the timer associated with the handover of the wireless device (12; 1000) is running, from the resource allocation mode to the resource selection mode; canceling, by the wireless device (12; 1000), based on the determining that the timer associated with a handover of the wireless device (12; 1000) is running, the triggered BSR for the D2D data transmission, wherein the canceled BSR for the D2D data transmission is associated with the D2D data transmission scheduled by the base station (11; 1050); and resetting, by the wireless device (12; 1000), the timer associated with the canceled BSR, wherein the timer associated with the canceled BSR comprises a periodic BSR-timer and a retransmission BSR-timer.