]> git.baikalelectronics.ru Git - kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 11:25:15 +0000 (13:25 +0200)
commit9ff882b1191e3cf3de7e51f24a7e9102c7baa7e5
tree5f3721248920b3460e874a45a35f64d931aeef2e
parentd4f37cf3cdf5b411e6abda66015a8244a6e8ca12
cfg80211: make certificate generation more robust

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>
net/wireless/Makefile