]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
MdePkg/DevicePathLib: Reverse the byte order of BD_ADDR for Bluetooth
authorHao Wu <hao.a.wu@intel.com>
Sat, 27 May 2017 02:22:33 +0000 (10:22 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 31 May 2017 02:28:41 +0000 (10:28 +0800)
commit4fc8277133fb011d028b4e0a42444ab6f552d0b9
tree687967eb1348c7b56709d20e39b4171871abde7b
parentb9036ebee9ddaf26afc9fbe3236c3d03f83c1b0a
MdePkg/DevicePathLib: Reverse the byte order of BD_ADDR for Bluetooth

For the following two functions:
DevPathFromTextBluetooth()
DevPathToTextBluetooth()

The Bluetooth device address "UINT8  Address[6]" is displayed with the
order from Address[5] to Address[0]. This commit reverses the order.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
MdePkg/Library/UefiDevicePathLib/DevicePathToText.c