staging: rtl8723au: Do not reset wdev->iftype in netdev_close()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 20:59:18 +0000 (22:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 21:56:38 +0000 (14:56 -0700)
commitf34475f5badfe8a9ad5836c94ca32f16ef07e9a8
tree640b2664d58c7d394ebef606d6296b9f1dc8987c
parentacfd4aae9e782bb5b1dde844247cda01e3256cd2
staging: rtl8723au: Do not reset wdev->iftype in netdev_close()

wdev->ifdev should be set by .change_virtual_intf(). This solves the
problem of WARN() messages on module unload.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/os_intfs.c