1

help me! I follow the steps on that post: How to install TP-LINK T2UH Wireless adapter Driver (Ralink mt7610u) But, my dongle only work on 2.4Ghz and not 5Ghz, what I do? My kernel is: 4.2.0-30-generic My Ubuntu is 14.04.04 (LTS).

1

1 Answer 1

-1
$ nano ~/mt7610u*/os/linux/rt_linux.c


@@ -1086,8 +1086,8 @@ int RtmpOSFileRead(RTMP_OS_FD osfd, char *pDataPtr, int readLen)
    if (osfd->f_op && osfd->f_op->read) {
        return osfd->f_op->read(osfd, pDataPtr, readLen, &osfd->f_pos);
    } else {
-        DBGPRINT(RT_DEBUG_ERROR, ("no file read method\n"));
-        return -1;
+        DBGPRINT(RT_DEBUG_ERROR, ("no file read method, using vfs_read\n"));
+        return vfs_read(osfd, pDataPtr, readLen, &osfd->f_pos);
    }
}
1
  • 1
    Is this supposed to be an answer? Because it just looks like a unified diff to me. While that may be part of a valid answer it is not enough on its own. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) May 14, 2016 at 8:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .