ACK: [PATCH 3/3] uefidump: add dumping for the wireless device path
Alex Hung
alex.hung at canonical.com
Wed Nov 25 02:32:36 UTC 2015
On 2015-11-20 04:54 PM, Ivan Hu wrote:
> Add dumping with uefi spec. 2.5 for new messaging device path, Wireless device
> path
>
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
> src/uefi/uefidump/uefidump.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/uefi/uefidump/uefidump.c b/src/uefi/uefidump/uefidump.c
> index 5ce4335..8bb9f00 100644
> --- a/src/uefi/uefidump/uefidump.c
> +++ b/src/uefi/uefidump/uefidump.c
> @@ -520,6 +520,12 @@ static char *uefidump_build_dev_path(char *path, fwts_uefi_dev_path *dev_path, c
> b->bluetooth_addr[3], b->bluetooth_addr[4], b->bluetooth_addr[5]);
> }
> break;
> + case FWTS_UEFI_WIRELESS_DEVICE_PATH_SUBTYPE:
> + if (dev_path_len > sizeof(fwts_uefi_wireless_dev_path)) {
> + fwts_uefi_wireless_dev_path *w = (fwts_uefi_wireless_dev_path *)dev_path;
> + path = uefidump_vprintf(path, "\\WiFi(%s)", w->ssid);
> + }
> + break;
> default:
> path = uefidump_vprintf(path, "\\Unknown-MESSAGING-DEV-PATH(0x%" PRIx8 ")", dev_path->subtype);
> break;
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list