diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-09-04 12:36:45 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-11 23:44:44 +0300 |
commit | adb43b24ec12a008656dcca831ab835a94261963 (patch) | |
tree | 00062bdb2c54aa6d66b6550bab6e1ae879105c77 /drivers/net/wireless/ath/ath10k/htt_tx.c | |
parent | d5aebc77b47f9e0a2b465fbcf77bde033a231c24 (diff) |
ath10k: fix debugfs_create_dir() checking
The function may return an -ENODEV if debugfs is
disabled in kernel. This should originally be
guarded by ath10k's Kconfig but it still makes
sense to check for the non-NULL errno return
value.
Reported-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htt_tx.c')
0 files changed, 0 insertions, 0 deletions