mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 13:10:14 +00:00
Merge pull request #202 from lakinduakash/dev
Fix permission error when listing devices
This commit is contained in:
commit
d08e0290c1
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,5 +1,6 @@
|
||||
linux-wifi-hotspot (4.3.0) UNRELEASED; urgency=low
|
||||
linux-wifi-hotspot (4.3.1) UNRELEASED; urgency=low
|
||||
|
||||
* Add qr code generate support
|
||||
* Fix error when listing connected devices
|
||||
|
||||
-- Lakindu Akash <lakinduakash@users.noreply.github.com> Sat, 18 Oct 2021 04:12:00 +0530
|
@ -464,7 +464,7 @@ char* generate_qr_image(char* ssid,char* type,char *password){
|
||||
Node get_connected_devices(char *PID)
|
||||
{
|
||||
char cmd[BUFSIZE];
|
||||
snprintf(cmd, BUFSIZE, "%s --list-clients %s", CREATE_AP, PID);
|
||||
snprintf(cmd, BUFSIZE, "%s %s --list-clients %s", SUDO, CREATE_AP, PID);
|
||||
FILE *fp;
|
||||
Node l = (struct Device *)malloc(sizeof(struct Device));
|
||||
Position head = l;
|
||||
|
Loading…
Reference in New Issue
Block a user