cfg80211: fix bug while trying to process beacon hints on init