]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dump stack when fail to gain access to the device
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 7 Mar 2012 17:52:23 +0000 (09:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Mar 2012 18:59:50 +0000 (13:59 -0500)
commit0a7c64a5c6ab842bb4656bca053e141e0e7bede0
treeee839f53923b216c6ec0d4aa4ec4ba60ec641f4a
parenta8a5b45ef5ef6d282a5d327bc92016043e8073a3
iwlwifi: dump stack when fail to gain access to the device

Print dump stack when the device is not responding. This should give
some more clue about the reason of failure. Also change the message we
print, since "MAC in deep sleep" is kinda confusing.

On the way add unlikely(), as fail to gain NIC access is hmm ...
unlikely.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
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-io.c