Skip to content
Commit 89f44d8c authored by Amit Khatri's avatar Amit Khatri Committed by Johannes Berg
Browse files

mac80211_hwsim: check txrate for NULL



If the rate control algorithm messed up then the txrate pointer
here could be NULL - WARN and drop the packet from monitoring.

Signed-off-by: default avatarAmit Khatri <amit.khatri@samsung.com>
Signed-off-by: default avatarRahul Jain <rahul.jain@samsung.com>
[rewrite commit message, add warning]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 7d37fcd4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment