]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20927fdc504f623b76da0214160b89762dbbe50f
treefda75829ae91c187956f2f6f5292d640b0b56581
parent1d711ac5740abba2d639bf97c4fbf86b39e236b8
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