As a work around, I have done the following.
I added the following into rc.local <code> hciconfig hci0 name $HOSTNAME </code>
As a work around, I have done the following.
I added the following into rc.local
<code>
hciconfig hci0 name $HOSTNAME
</code>