lkml.org 
[lkml]   [2013]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 1/2] staging: gdm7240: adding LTE USB driver
    On Thu, Jul 25, 2013 at 03:36:17AM +0900, Won Kang wrote:
    > +- Explain reason for multiples of 512 bytes in alloc_tx_struct()

    Actually I remembered that I had seen this before in gdm_usb_send()
    from drivers/staging/gdm72xx/gdm_usb.c. Apparently there is a
    firmware bug.

    /*
    * In some cases, USB Module of WiMax is blocked when data size is
    * the multiple of 512. So, increment length by one in that case.
    */
    if ((len % 512) == 0)
    len++;

    regards,
    dan carpenter


    \
     
     \ /
      Last update: 2013-07-24 23:41    [W:6.335 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site