mac80211: Introduce a generic commit() to apply changes