]> git.baikalelectronics.ru Git - kernel.git/commit
iwlegacy: dump stack when fail to gain access to the device
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 13 Feb 2012 10:23:08 +0000 (11:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:51:11 +0000 (14:51 -0500)
commit29cf37d0bfdce1d443ed9005ab6617d31f3cb7a4
tree80a8f9a672a5ee41ea4f3ac5d1490fa2b7ac579d
parent01f99f96991f4349d78bd0ca34ba6f7547a27844
iwlegacy: 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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/common.c