summaryrefslogtreecommitdiffstats
path: root/src/limera1n.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/limera1n.c')
-rw-r--r--src/limera1n.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/limera1n.c b/src/limera1n.c
index 6ceb65a..25d9e40 100644
--- a/src/limera1n.c
+++ b/src/limera1n.c
@@ -30,6 +30,13 @@
#include "limera1n.h"
#include "limera1n_payload.h"
+int limera1n_is_supported(struct irecv_device *device)
+{
+ return ((device->chip_id == irecv_devices[DEVICE_IPHONE4].chip_id) ||
+ (device->chip_id == irecv_devices[DEVICE_IPHONE3GS].chip_id) ||
+ (device->chip_id == irecv_devices[DEVICE_IPOD3G].chip_id));
+}
+
int limera1n_exploit(struct irecv_device *device, irecv_client_t *pclient)
{
irecv_error_t err = IRECV_E_SUCCESS;