]> 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)
commitff56df73a1d29fda9afa5b43778256e9f9c50332
tree80a8f9a672a5ee41ea4f3ac5d1490fa2b7ac579d
parentab0c78aa3b77dbf4619895d85da77fa79742a7ce
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