Correct the variable name to retrive the device name.

Change-Id: If4f25b982e79c4b9be277ff98df847237dbc8d21
Merge "Correct the variable name to retrive the device name."