]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd_cli: Refactor control iface reconnects with common helper
authorMikael Kanstrup <mikael.kanstrup@sonymobile.com>
Wed, 12 Oct 2016 12:18:57 +0000 (14:18 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Oct 2016 09:26:42 +0000 (12:26 +0300)
commite054a4333e918bdc3ea52796694b7f60d31c7e09
tree1079d4669808072f5de05e9bcbdc6b9e67515e02
parentaa2ab916ef34a7566c7b81e818f76e4cea68c889
hostapd_cli: Refactor control iface reconnects with common helper

Code for connecting/reconnecting to the hostapd control interface
is found duplicated a number of times. Create a common reconnect
helper function to avoid code duplication.

Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
hostapd/hostapd_cli.c