OSDN Git Service

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 22:23:11 +0000 (15:23 -0700)
commitbb4e506565cfc0a2f534dfda1fb7ca5c26f7a604
treefda75829ae91c187956f2f6f5292d640b0b56581
parentbe02f259fda66bcfc60ecd78a819e1ce28c8bfb9
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