Skip to content

Commit

Permalink
Wifi (macOS): remove undesired code
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Oct 11, 2023
1 parent 1fe9273 commit 076324e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/detection/wifi/wifi_apple.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "wifi.h"

#import <CoreWLAN/CoreWLAN.h>
#import <CoreLocation/CLLocationManager.h>

const char* ffDetectWifi(FFlist* result)
{
Expand Down Expand Up @@ -32,7 +31,6 @@
if(!inf.serviceActive)
continue;

[CLLocationManager.new requestAlwaysAuthorization];
if (inf.ssid)
ffStrbufAppendS(&item->conn.ssid, inf.ssid.UTF8String);
else
Expand Down

0 comments on commit 076324e

Please sign in to comment.