[][MAC80211][WiFi6][mt76][Fixed null pointer dereference issue]

[Description]
Fix null pointer dereference issue
Without this patch, when the station is still in Authentication stage and
sends a "Notify bandwidth change action frame" to AP at the same time,
there will be a race condition that causes a crash to occur because the AP
access "msta->vif" that has not been fully initialized.

[Release-log]
N/A

Change-Id: I0077d784cf34c7083c19ef229662ce4ece40857f
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8170794
1 file changed