attrib: Fix use after free of attrib
attrib: Fix use after free of attrib

If attrib is freed in cmd->func(), then it will be used if either
request or response queue has some data to send.

This patch moves calling wake_up_sender() which increases the ref
count of attrib so that it wont get freed in cmd->func().

ComputeCycles/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,pkarasev3/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,mapfau/bluez,mapfau/bluez,mapfau/bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,silent-snowman/bluez,silent-snowman/bluez,silent-snowman/bluez,ComputeCycles/bluez