Index: components/wifi/wifi_service_win.cc |
diff --git a/components/wifi/wifi_service_win.cc b/components/wifi/wifi_service_win.cc |
index f20c26ef865c7498d007ccbea682b656235b2d12..2716136b34e51fa4738477a3a072c41be3fb95db 100644 |
--- a/components/wifi/wifi_service_win.cc |
+++ b/components/wifi/wifi_service_win.cc |
@@ -1154,7 +1154,8 @@ DWORD WiFiServiceImpl::FindAdapterIndexMapByGUID( |
if (error == ERROR_SUCCESS) { |
for (int adapter = 0; adapter < interface_info->NumAdapters; ++adapter) { |
if (base::EndsWith( |
- interface_info->Adapter[adapter].Name, guid_string, false)) { |
+ interface_info->Adapter[adapter].Name, guid_string, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
*adapter_index_map = interface_info->Adapter[adapter]; |
break; |
} |