It would be nice to generalize this to work with multiple radios, maybe by integrating it into the wifi-config module...