abperiasamy/rtl8812AU_8821AU_linux — pull request #27 by andreas-hofmann (2014-12-04 10:24:25+00:00)
Title: Fix stacktrace when unplugging wifi dongle

This fixes issue #7 (at least for me). Setting iftype to NL80211_IFTYPE_MONITOR when unregistering regardless of the actual device type triggers a WARN_ON() in __cfg80211_disconnected().