]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: Skip directory when generating certificates
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Tue, 7 May 2019 17:28:15 +0000 (20:28 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 May 2019 08:27:57 +0000 (10:27 +0200)
commit94411feb702d397773245b750e592fcab54dd878
tree921126f16c8b83206e64e9b94feee923d6174335
parent877d4857d9a485d0a2418d86eb9e4caedb09d5a4
wireless: Skip directory when generating certificates

Commit 0e9531558831 ("wireless: don't write C files on failures") drops
the `test -f $$f` check. The list of targets contains the
CONFIG_CFG80211_EXTRA_REGDB_KEYDIR directory itself, and this check used
to filter it out. After the check was removed, the extra keydir option
no longer works, failing with the following message:

od: 'standard input': read error: Is a directory

This commit restores the check to make extra keydir work again.

Fixes: 0e9531558831 ("wireless: don't write C files on failures")
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Makefile