[PATCH openEuler-5.10 12/53] wifi: mac80211: fix crash in beacon protection for P2P-device