mac80211: Fix wpa_supplicant config removal ubus call
authorSven Eckelmann <sven@narfation.org>
Thu, 22 Oct 2020 08:52:08 +0000 (10:52 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 27 Oct 2020 23:11:12 +0000 (00:11 +0100)
commit7ca9b82c389a643e81709b58e4e785a5de91330a
treedbd314207bdafe1dc8204bd0aa0c37bd22babe04
parent83d40aef13e811c2744c2f7d2c3175a5bbb6af43
mac80211: Fix wpa_supplicant config removal ubus call

If mac80211_setup_supplicant() is called with enabled=0 then it should just
destroy the interface and remove the configuration from wpa_supplicant. But
the ubus method call always returned

  Command failed: Method not found

because the actual name of the method is "config_remove".

Fixes: b5516603dd90 ("mac80211: more wifi reconf related fixes")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
[bump PKG_RELEASE]
Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/mac80211/Makefile
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh