hostap: Fix outdated comment about dev->destructor
authorStefano Brivio <sbrivio@redhat.com>
Thu, 27 Jul 2017 11:20:15 +0000 (13:20 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 3 Aug 2017 10:08:41 +0000 (13:08 +0300)
commit9ff067ff4c4a08d412e51307f11f7de3fb3045e7
tree10ed31c9bd5f940a841d2a032f64c74c9c84356c
parentd20d893d7a749662f21ff97894c3a496f9a5c991
hostap: Fix outdated comment about dev->destructor

After commit cf124db566e6 ("net: Fix inconsistent teardown and
release of private netdev state."), setting
'dev->needs_free_netdev' ensures device data is released, and
'dev->destructor' is not used anymore.

Fixes: cf124db566e6 ("net: Fix inconsistent teardown and release of private netdev state.")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/hostap/hostap_main.c