Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89e9bfc4 authored by Chunho Lee's avatar Chunho Lee Committed by Johannes Berg
Browse files

mac80211: Fix null pointer dereference with iTXQ support



This change adds null pointer check before dereferencing pointer dev on
netif_tx_start_all_queues() when an interface is added.
With iTXQ support, netif_tx_start_all_queues() is always called while
an interface is added. however, the netdev queues are not associated
and dev is null when the interface is either NL80211_IFTYPE_P2P_DEVICE
or NL80211_IFTYPE_NAN.

Signed-off-by: default avatarChunho Lee <ch.lee@newracom.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent b44eebea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment