mac80211: fix a race condition in the cfg80211 scanning code (thx, johill)