aboutsummaryrefslogtreecommitdiff
path: root/src/WifiAP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/WifiAP.cpp')
-rw-r--r--src/WifiAP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WifiAP.cpp b/src/WifiAP.cpp
index 9107a81..50100c5 100644
--- a/src/WifiAP.cpp
+++ b/src/WifiAP.cpp
@@ -68,7 +68,7 @@ bool MACEqual(u8* a, const u8* b);
bool MACIsBroadcast(u8* a);
-WifiAP::WifiAP(class Wifi* wifi) : Wifi(wifi)
+WifiAP::WifiAP(Wifi* client) : Client(client)
{
}
@@ -368,7 +368,7 @@ int WifiAP::RecvPacket(u8* data)
// check destination MAC
if (!MACIsBroadcast(&LANBuffer[0]))
{
- if (!MACEqual(&LANBuffer[0], Wifi->GetMAC()))
+ if (!MACEqual(&LANBuffer[0], Client->GetMAC()))
return 0;
}