Use get_real_interface here and compare to that to make it more generic instead of doing this wireless-specific stuff.
Use get_real_interface here and compare to that to make it more generic instead of doing this wireless-specific stuff.