Skip to content

Commit

Permalink
Wifi (macOS): fix build on old OS version
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Nov 21, 2024
1 parent 601b970 commit 06055cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detection/wifi/wifi_apple.m
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ @interface CWInterface()
{
case kCWChannelBand2GHz: item->conn.frequency = 2400; break;
case kCWChannelBand5GHz: item->conn.frequency = 5000; break;
case kCWChannelBand6GHz: item->conn.frequency = 6000; break;
case 3 /*kCWChannelBand6GHz*/: item->conn.frequency = 6000; break;
default: item->conn.frequency = 0; break;
}
}
Expand Down

0 comments on commit 06055cc

Please sign in to comment.