mac80211: Fix behavior of ieee80211_open and ieee80211_close