ath10k: fix NULL dereference for injected packets
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 16 Jul 2013 09:04:54 +0000 (11:04 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:20 +0000 (18:01 +0300)
commitcf84bd4defe22c7359bd3e4d6978bd88af1f8f90
tree3914c5f4b4fe4911afef2ee9975f4e6f70bf521e
parent9cfbce75c806e151b11a5d2c04b3aea3e920b3c1
ath10k: fix NULL dereference for injected packets

Tx processing functions dereference vif and caused
NULL to be dereferenced for injected frames.

Don't call these functions at all for injected
frames. It doesn't make much sense to do so
anyway.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c