]> Git Repo - linux.git/blobdiff - drivers/platform/surface/aggregator/ssh_request_layer.c
wifi: cfg80211: Annotate struct cfg80211_scan_request with __counted_by
[linux.git] / drivers / platform / surface / aggregator / ssh_request_layer.c
index 69132976d297e24948de68f3ccb0f8067e54f1e4..90634dcacabf28f77613b97c54986c62a65788ba 100644 (file)
@@ -920,13 +920,14 @@ static void ssh_rtl_rx_command(struct ssh_ptl *p, const struct ssam_span *data)
         * Check if the message was intended for us. If not, drop it.
         *
         * Note: We will need to change this to handle debug messages. On newer
-        * generation devices, these seem to be sent to tid_out=0x03. We as
-        * host can still receive them as they can be forwarded via an override
-        * option on SAM, but doing so does not change tid_out=0x00.
+        * generation devices, these seem to be sent to SSAM_SSH_TID_DEBUG. We
+        * as host can still receive them as they can be forwarded via an
+        * override option on SAM, but doing so does not change the target ID
+        * to SSAM_SSH_TID_HOST.
         */
-       if (command->tid_out != 0x00) {
+       if (command->tid != SSAM_SSH_TID_HOST) {
                rtl_warn(rtl, "rtl: dropping message not intended for us (tid = %#04x)\n",
-                        command->tid_out);
+                        command->tid);
                return;
        }
 
This page took 0.033732 seconds and 4 git commands to generate.