Hello, 2011/7/27 Sergei Shtylyov <sshtylyov@xxxxxxxxxx>: >> + while (tmp >= 256) { >> + tmp>>= 2; >> + buf[1]<<= 1; >> + } >> + if (tmp > 256) { > > This will never be true due to the *while* loop above. Also, {} are not > needed. Of course, you're right. It must have been leftover from older version. Fixed patch in attachment. Regards, Michal Sroczynski
Attachment:
pl2303kernel2.diff
Description: Binary data