When comparing a constant with variable, it is recommeneded
to have the constant on the right side of the test.
This patch silences the following checkpatch.pl warning:
 "Comparisons should place the constant on the right side of the test"
Signed-off-by: Vardhan H G <crazylonestar7@gmail.com>
Link: https://lore.kernel.org/r/20210407061749.13460-1-crazylonestar7@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        // Dialog Token
        *tag++ = pBA->dialog_token;
 
-       if (ACT_ADDBARSP == type) {
+       if (type == ACT_ADDBARSP) {
                // Status Code
                netdev_info(ieee->dev, "=====>to send ADDBARSP\n");
 
        put_unaligned_le16(pBA->timeout_value, tag);
        tag += 2;
 
-       if (ACT_ADDBAREQ == type) {
+       if (type == ACT_ADDBAREQ) {
        // BA Start SeqCtrl
                memcpy(tag, (u8 *)&(pBA->start_seq_ctrl), 2);
                tag += 2;