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)
commit58b6259d820d63c2adf1c7541b54cce5a2ae6073
tree120c2e985778c6f81757fef55133ee103910a94d
parent4ee186fa7e40ae06ebbfbad77e249e3746e14114
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: 4ee186fa7e40 ("wifi: mac80211_hwsim: fix race condition in pending packet")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c