• Dan Carpenter's avatar
    uwb: remove duplicate cpu_to_le16() · bcf59e2c
    Dan Carpenter authored
    These parameters should be passed as cpu endian because we change it to
    little endian inside usb_control_msg().  On x86 cpu_to_le16() doesn't
    do anything so either way works but I think the original code would break
    on big endian systems.
    
    I removed the masks as well because that usb_control_msg() parameters
    are __u16 so we already only use the lower bits.
    Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
    Signed-off-by: default avatarDavid Vrabel <david.vrabel@csr.com>
    bcf59e2c
Name
Last commit
Last update
..
i1480 Loading commit data...
wlp Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
address.c Loading commit data...
allocator.c Loading commit data...
beacon.c Loading commit data...
driver.c Loading commit data...
drp-avail.c Loading commit data...
drp-ie.c Loading commit data...
drp.c Loading commit data...
est.c Loading commit data...
hwa-rc.c Loading commit data...
ie-rcv.c Loading commit data...
ie.c Loading commit data...
lc-dev.c Loading commit data...
lc-rc.c Loading commit data...
neh.c Loading commit data...
pal.c Loading commit data...
radio.c Loading commit data...
reset.c Loading commit data...
rsv.c Loading commit data...
scan.c Loading commit data...
umc-bus.c Loading commit data...
umc-dev.c Loading commit data...
umc-drv.c Loading commit data...
uwb-debug.c Loading commit data...
uwb-internal.h Loading commit data...
uwbd.c Loading commit data...
whc-rc.c Loading commit data...
whci.c Loading commit data...