]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cfg80211: make certificate generation more robust
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:29 +0000 (13:41 +0300)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:48:25 +0000 (08:48 -0400)
commit534fb8a871c4fa3218303118c38b4e304f8a9fd6
treef69c1916c127fcdcedac5108e7d08d2ccf4074ae
parent3d1224a9126521a0984e9858106b6180a24326e8
cfg80211: make certificate generation more robust

commit b5642479b0f7168fe16d156913533fe65ab4f8d5 upstream.

If all net/wireless/certs/*.hex files are deleted, the build
will hang at this point since the 'cat' command will have no
arguments. Do "echo | cat - ..." so that even if the "..."
part is empty, the whole thing won't hang.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.c989056c3664.Ic3b77531d00b30b26dcd69c64e55ae2f60c3f31e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/Makefile