]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: assign chip id and rev in bus interface after brcmf_usb_dlneeded
authorArend van Spriel <arend@broadcom.com>
Fri, 20 Jun 2014 20:19:25 +0000 (22:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 18:30:29 +0000 (14:30 -0400)
commit3745c379fc0202949c8f3a3ecc194f2df9be6ab6
treec610efd45cc388ae202dd70c0567f0358e5dc3e5
parent87b62c0fc73431b987adc79760a3d17b35aaf00f
brcmfmac: assign chip id and rev in bus interface after brcmf_usb_dlneeded

The function brcmf_usb_dlneeded() queries the device to obtain the chip
id and revision. So assigning these in bus interface before the call
resulted in chip id and revision being zero. This was introduced by:

   commit e023dee96c4a3e225d60052288a97dc7a5c454bf
   Author: Arend van Spriel <arend@broadcom.com>
   Date:   Tue May 27 12:56:23 2014 +0200

       brcmfmac: use asynchronous firmware request in USB

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c