wifi: Skip rmmod during the device shutdown/reboot

An rmmod (for the drivers supporting DLKM) during the reboot/shutdown
results in a race condition in the driver .

This is a workaround to avoid the trigger of rmmod while the
reboot/shotdown is in progress.

Change-Id: Ic72dfda5003cc7068e3ba4386dd4999ca9607993
CRs-Fixed: 2237954
(cherry picked from commit e2e036e271d4b3894e6d544a3252e59566fae617)
1 file changed