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)
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

Simple merge
Simple merge
Simple merge