iwlagn: block regular host commands if driver don't own uCode
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 8 Jul 2011 15:46:27 +0000 (08:46 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jul 2011 19:02:09 +0000 (15:02 -0400)
commiteedb6e357a4b1bd3d7e4544e77fbd71718492547
tree7ccacd314958b6b6a0140e4080b5bd71d9e98c4a
parente98a1939a2d75354631487328339fe8d2117fce9
iwlagn: block regular host commands if driver don't own uCode

The only host command allow to send to uCode is the one initiated from
testmode if testmode is the owner of uCode

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-tx.c