diff options
author | Maxim Mikityanskiy | 2019-05-07 20:28:15 +0300 |
---|---|---|
committer | Johannes Berg | 2019-05-14 10:27:57 +0200 |
commit | 32b5a2c9950b9284000059d752f7afa164deb15e (patch) | |
tree | 921126f16c8b83206e64e9b94feee923d6174335 /net/wireless/sysfs.c | |
parent | 63863ee8e2f6f6ae47be3dff4af2f2806f5ca2dd (diff) |
wireless: Skip directory when generating certificates
Commit 715a12334764 ("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: 715a12334764 ("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>
Diffstat (limited to 'net/wireless/sysfs.c')
0 files changed, 0 insertions, 0 deletions