summaryrefslogtreecommitdiff
path: root/comms/soundmodem/files/patch-soundcard_ptt.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/soundmodem/files/patch-soundcard_ptt.c')
-rw-r--r--comms/soundmodem/files/patch-soundcard_ptt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/comms/soundmodem/files/patch-soundcard_ptt.c b/comms/soundmodem/files/patch-soundcard_ptt.c
deleted file mode 100644
index 5e84d638c27e..000000000000
--- a/comms/soundmodem/files/patch-soundcard_ptt.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- soundcard/ptt.c.orig 2014-09-01 16:22:57 UTC
-+++ soundcard/ptt.c
-@@ -250,7 +250,7 @@ int pttinit(struct pttio *state, const c
- return 0;
- }
- logprintf(MLOG_INFO, "Opening PTT device \"%s\"\n", path);
-- if ((fd = open(path, O_RDWR, 0)) < 0) {
-+ if ((fd = open(path, O_RDWR|O_NONBLOCK, 0)) < 0) {
- logprintf(MLOG_ERROR, "Cannot open PTT device \"%s\"\n", path);
- return -1;
- }