iwlagn: simplify TX flags assignments
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Jul 2011 12:11:51 +0000 (05:11 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 16 Jul 2011 14:38:09 +0000 (07:38 -0700)
commit2c2def10d03554c0f8ed02f5b5a2a8526958f6a3
treee6685e5406bf927235dfcd931af0622667ecc985
parent47365ab858a7f452e79437d1a44488245e903f37
iwlagn: simplify TX flags assignments

The first assignment of TX_CMD_FLG_SEQ_CTL_MSK for
ack-expected mgmt frames is overwritten later in
the function, so it's useless. Also, probe response
frames, BACK request and others there are mutually
exclusive so can be moved into an else branch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c