[PATCH 6.1 310/321] wifi: mac80211: fix potential null pointer dereference