I am unsure if this is the proper way to fix this problem since it ends up just dropping the frame when this happens. If 'channel' *should* be initialized by the time we are receiving frames then there may be a race somewhere. If its functionally ok for 'channel' to be NULL, then maybe this fix is alright. I realize it had been suggested to provide a decoded crash with a debuggable kernel, but I really dont see how that could provide any additional information above what is here. Because of this I sent as an RFC and we can discuss further if needed. James Prestwood (1): mac80211_hwsim: fix crash when receiving frame drivers/net/wireless/mac80211_hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.2