wl1251: implement disconnect command properly
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Feb 2015 23:31:28 +0000 (01:31 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 20 Feb 2015 22:05:29 +0000 (00:05 +0200)
commitd103a1e5961878d99f645716758aaf3027952fe4
tree7672faf7ad41f44feda2bff035ec7ca3516c2ffd
parentebdfc05d0d0383ae7b0859f00ce1abc311131b8c
wl1251: implement disconnect command properly

Currently the driver uses a disconnect command with 4 data bytes
by reusing wl1251_cmd_template_set(), however the data length is
supposed to be 8 bytes. This doesn't seem to causing any bad effects,
but it's better to send correct commands.

Tested on pandora board to confirm that idle mode is still working
after this patch with no change in current draw.
drivers/net/wireless/wl1251/cmd.c
drivers/net/wireless/wl1251/cmd.h
drivers/net/wireless/wl1251/ps.c