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: NAmit Khatri <amit.khatri@samsung.com> Signed-off-by: NRahul Jain <rahul.jain@samsung.com> [rewrite commit message, add warning] Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Showing
想要评论请 注册 或 登录