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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:22:46 +0000 (14:22 +0200)
commit6b6ed18432ead05d44b7950eb0accde7729e11d4
tree625e64a7271d170ad7ab067a46a9d870b4adcd63
parent879f766eaa31f1eccab543f6236bc66a2acda2e3
wifi: mac80211_hwsim: add back erroneously removed cast

commit 58b6259d820d63c2adf1c7541b54cce5a2ae6073 upstream.

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: 4ee186fa7e40 ("wifi: mac80211_hwsim: fix race condition in pending packet")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Jeongik Cha <jeongik@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mac80211_hwsim.c