Check interface name before calling CoreWLAN
This change attempts to address some Mac CWInterface crashes. Although CWInterface's interfaceWithName was deprecated in 10.10, these crashes don't appear to be a result of that (especially since there is one other use of the API in Chromium that isn't experiencing any crashes). This change adds a check on the interface name before calling interfaceWithName to ensure it is only called on Wifi interfaces. Bug: 827944 Change-Id: I2775bc7c3b26a015c1893b3ba56a13f66f3d5ead Reviewed-on: https://chromium-review.googlesource.com/1016068Reviewed-by:Derek Cheng <imcheng@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Cr-Commit-Position: refs/heads/master@{#551737}
Showing
Please register or sign in to comment