]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: fix length of dma buffers
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 14 Mar 2013 11:48:40 +0000 (12:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Mar 2013 19:20:34 +0000 (15:20 -0400)
commit5f987acbdb0cffca610821d3ca676fd62df77177
tree2745bd32e19aa7ec9cd9f30ad27b4c255c6c4532
parent873eb09269083c66a1c10228c36ea9566e8ff42d
iwl3945: fix length of dma buffers

commit 14930557040eb8d09ba06711100466afa3c96c3b
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Wed Feb 13 15:49:08 2013 +0100

    iwlegacy: more checks for dma mapping errors

broke il3945_tx_skb() dma buffer length settings, what results on
firmware errors like showed below and make 3945 device non usable.

iwl3945 0000:02:00.0: Microcode SW error detected. Restarting 0x82000008.
iwl3945 0000:02:00.0: Loaded firmware version: 15.32.2.9
iwl3945 0000:02:00.0: Start IWL Error Log Dump:
iwl3945 0000:02:00.0: Status: 0x000202E4, count: 1
iwl3945 0000:02:00.0: Desc  Time    asrtPC blink2 ilink1  nmiPC   Line
iwl3945 0000:02:00.0: SYSASSERT     (0x5) 0000208934 0x008B6 0x0035E 0x00320 0x00000 267
iwl3945 0000:02:00.0: Error Reply type 0x00000001 cmd

Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Reported-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
Reported-by: Pedro Francisco <pedrogfrancisco@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-mac.c