[Linux-stable-mirror] [PATCH] cfg80211: fix cfg80211_beacon_dup