mac80211_hwsim: check txrate for NULL
authorAmit Khatri <amit.khatri@samsung.com>
Mon, 30 Nov 2015 07:16:52 +0000 (12:46 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Dec 2015 13:43:32 +0000 (14:43 +0100)
commit89f44d8c25bb21f167d7d124c6b83dd494f948af
treed3bee2856598d8015314dfd90e424cfd2b7e2757
parent7d37fcd409199f76da522e6f6670a354ac468002
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: Amit Khatri <amit.khatri@samsung.com>
Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
[rewrite commit message, add warning]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
This page took 0.026273 seconds and 5 git commands to generate.