mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2025-02-16 07:30:09 +00:00
This commit is contained in:
parent
613af3b37e
commit
e01f941519
@ -233,7 +233,7 @@ int get_running_info(char* a[3]){
|
||||
|
||||
|
||||
static int init_get_interface_list(){
|
||||
const char* cmd="ls -x /sys/class/net ";
|
||||
const char* cmd="echo $( ls /sys/class/net ) ";
|
||||
|
||||
FILE *fp;
|
||||
|
||||
@ -366,4 +366,4 @@ char** get_wifi_interface_list(int *length){
|
||||
|
||||
return NULL;
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user