Johannes Berg
2fa71edb85
wifi: mac80211: fix check for unusable RX result
...
[ Upstream commit 583058542f46e3e2b0c536316fbd641f62d91dc6 ]
If we just check "result & RX_DROP_UNUSABLE", this really only works
by accident, because SKB_DROP_REASON_SUBSYS_MAC80211_UNUSABLE got to
have the value 1, and SKB_DROP_REASON_SUBSYS_MAC80211_MONITOR is 2.
Fix this to really check the entire subsys mask for the value, so it
doesn't matter what the subsystem value is.
Fixes: 7f4e09700b ("wifi: mac80211: report all unusable beacon frames")
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-11-20 11:58:57 +01:00
..
2022-10-07 15:24:31 +02:00
2023-06-19 13:12:43 +02:00
2022-11-25 12:45:53 +01:00
2023-09-25 08:41:27 +02:00
2023-06-19 12:05:28 +02:00
2023-06-14 12:20:08 +02:00
2022-06-20 12:55:06 +02:00
2023-06-19 12:05:19 +02:00
2023-03-07 10:56:06 +01:00
2023-06-19 17:34:55 +02:00
2022-10-07 15:23:41 +02:00
2023-04-20 11:46:07 +02:00
2023-03-07 10:56:06 +01:00
2023-06-06 14:17:21 +02:00
2023-11-20 11:58:57 +01:00
2023-06-14 11:57:29 +02:00
2022-08-26 09:56:54 +02:00
2023-08-24 08:42:36 +02:00
2023-06-14 11:57:29 +02:00
2023-06-07 19:53:22 +02:00
2023-09-25 08:41:27 +02:00
2023-11-20 11:58:54 +01:00
2023-11-20 11:58:54 +01:00
2023-10-11 16:36:14 +02:00
2022-09-06 10:17:20 +02:00
2023-05-25 12:16:27 +01:00
2023-05-25 12:16:27 +01:00
2023-06-19 13:11:35 +02:00
2023-11-20 11:58:54 +01:00
2022-09-03 17:02:25 +02:00
2023-06-07 19:53:18 +02:00
2023-11-20 11:58:54 +01:00
2023-09-25 08:41:27 +02:00
2023-06-06 14:16:48 +02:00
2023-09-13 10:14:44 +02:00
2023-08-22 21:40:40 +02:00
2023-09-26 09:12:47 +02:00
2023-06-07 19:53:18 +02:00
2023-11-20 11:58:54 +01:00
2022-07-15 11:43:21 +02:00
2022-07-15 11:43:21 +02:00
2023-03-30 11:21:17 +02:00
2022-10-07 15:25:05 +02:00
2023-11-20 11:58:57 +01:00
2022-11-02 09:50:40 +01:00
2023-11-20 11:58:54 +01:00
2022-07-15 11:43:14 +02:00
2023-11-20 11:58:55 +01:00
2023-03-24 10:56:23 +01:00
2023-06-07 19:53:18 +02:00
2023-06-19 12:05:28 +02:00
2022-07-24 19:11:17 -04:00
2023-06-14 12:32:19 +02:00
2023-09-25 09:32:01 +02:00
2023-11-20 11:58:54 +01:00
2023-09-25 08:41:27 +02:00
2023-03-22 13:46:38 +01:00
2022-10-10 11:06:14 +02:00
2023-08-24 08:42:36 +02:00
2022-06-10 15:35:53 +02:00