wpa_supplicant分析 1. main

Main

1 Description

wpa_supplicantbin文件的主函数,根据wpa_supplicant所带参数调用wpa_supplicant_init函数进行初始化,如果带有-N参数,则调用wpa_supplicant_add_iface函数添加多个接口;接着调用wpa_supplicant_run函数跑守护进程;如果守护进程失败,则调用wpa_supplicant_deinit函数释放wpa_supplicant.


你可能感兴趣的:(wpa_supplicant分析 1. main)