GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — wifi: mt76: mt7996: guard NULL sta in EAPOL MLD translation · frank-w/BPI-Router-Linux@e773396

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • drivers/net/wireless/mediatek/mt76/mt7996
    • mac.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎drivers/net/wireless/mediatek/mt76/mt7996/mac.c‎

Copy file name to clipboardExpand all lines: drivers/net/wireless/mediatek/mt76/mt7996/mac.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ int mt7996_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
11321132
* compatible with 802.11 EAPOL frame, we do the translation by
11331133
* software
11341134
*/
1135-
if (tx_info->skb->protocol == cpu_to_be16(ETH_P_PAE) && sta->mlo) {
1135+
if (tx_info->skb->protocol == cpu_to_be16(ETH_P_PAE) && sta && sta->mlo) {
11361136
struct ieee80211_hdr *hdr = (void *)tx_info->skb->data;
11371137
struct ieee80211_bss_conf *link_conf;
11381138
struct ieee80211_link_sta *link_sta;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.