wlcore: Fix regression in wlcore_set_partition()
authorEmil Goode <emil.fsw@goode.io>
Wed, 10 Feb 2016 01:22:16 +0000 (02:22 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 12 Feb 2016 09:44:47 +0000 (11:44 +0200)
commitfb724ed5c6175a2407b256d506c9e703c6bb62d4
tree56c2b6238ac5644d201f1b3677017b35f97f916b
parentd76d65fd26951498144029c24852c4d54ee512d9
wlcore: Fix regression in wlcore_set_partition()

The commit 3719c17e1816 ("wlcore/wl18xx: fw logger over sdio") introduced a
regression causing the wlcore to time out and go into recovery. Reverting the
changes regarding write of the last partition size brings the module back to
it's functional state.

Fixes: 3719c17e1816 ("wlcore/wl18xx: fw logger over sdio")
Reported-by: Ross Green <rgkernel@gmail.com>
Signed-off-by: Emil Goode <emil.fsw@goode.io>
[kvalo@codeaurora.org: improved commit log]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/io.c
drivers/net/wireless/ti/wlcore/io.h