[qca-nss-qdisc] fix shaper destroy issue

Due to wrong state assignment, destroy commands to root qdisc were
failing. This resulted in stalling of traffic post deletion of qos tree.

The fix ensures qdisc state is set to IDLE only post completion of
deletion task and not prior to it happening.

Change-Id: I24ca0d419be21fe46c3031e1c2da2c2b8915640a
Signed-off-by: Sakthi Vignesh Radhakrishnan <sradhakr@codeaurora.org>
1 file changed