rtw88: add ieee80211_ops::change_interface
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 17 Jul 2020 06:49:35 +0000 (14:49 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 2 Aug 2020 15:05:16 +0000 (18:05 +0300)
commit40b788d15832f5947b6d4e4ff3afea9af267bac6
treeda56c3995024223005d46da34bf97073d4c28182
parent3f194bd4ca1cd9b8eef34d37d562279dbeb80319
rtw88: add ieee80211_ops::change_interface

Sometimes mac80211 will just ask driver to change the interface
instead of to remove and then add a new one. And for driver, to
change the interface is just simply to remove and add a new one
but change the type of it.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200717064937.27966-6-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/mac80211.c