]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211_hwsim: add back erroneously removed cast
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 11:14:24 +0000 (13:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 11:16:30 +0000 (13:16 +0200)
commit0c94b888b542d86899d305d6cbbe306ba5b3eb01
tree120c2e985778c6f81757fef55133ee103910a94d
parent2e05bcefd0a8a525e7145f84b5c5c2d4faffda6d
wifi: mac80211_hwsim: add back erroneously removed cast

The robots report that we're now casting to a differently
sized integer, which is correct, and the previous patch
had erroneously removed it.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 2e05bcefd0a8 ("wifi: mac80211_hwsim: fix race condition in pending packet")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c