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)
commitb6603036ad87244bd39ed7bc0612009df7694f5e
tree80a8f9a672a5ee41ea4f3ac5d1490fa2b7ac579d
parent3fccdcf5091eaaa0d7582bedbc035163b40714b9
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