bluetooth: Move name at the end of EIR
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 31 Oct 2012 11:22:18 +0000 (12:22 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 14 Nov 2012 10:35:44 +0000 (11:35 +0100)
commitfaad96e91301b58b96bfa469fb460faf45174149
treea117ce99425fa929db99d23d09ba7fe468973c4d
parent03ef2d2cfd12cbc77003407e763a28e602e169fd
bluetooth: Move name at the end of EIR

This will make sure that hash and randomizer are send even when name is
long. Also limit name to not exceed maximum sensible EIR length of 255
bytes. If name would not fit use EIR_NAME_SHORT data type for it.
src/bluetooth.c