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