staging: wfx: fix double init of tx_policy_upload_work
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 27 Apr 2020 13:40:25 +0000 (15:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2020 12:14:28 +0000 (14:14 +0200)
commit6ae0878b4800c7042d35c0fb4c6baabb62621ecc
tree50320c77a2d57178adb3e81ef21076118bf8a92c
parent29d84944ca8b210785c8677465c624672040b0c7
staging: wfx: fix double init of tx_policy_upload_work

The work_struct tx_policy_upload_work was initialized twice.

Fixes: 99879121bfbb ("staging: wfx: fix the cache of rate policies on interface reset")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200427134031.323403-12-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c