b43: Fix firmware caching
authorMichael Buesch <mb@bu3sch.de>
Mon, 21 Jan 2008 18:55:09 +0000 (19:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:46 +0000 (15:10 -0800)
commit61cb5dd6d1c81fbb5629f60db4e2a7faa7124b7a
tree5f0d0c7f1e7830a8149c94012feb80c160cb0b6d
parent71ebb4aac87e4a1504a155084d658d0a92ac63fb
b43: Fix firmware caching

We must also store the ID string (filename) for the cached firmware blobs
and verify that we really have the right firmware cached before using it.
If we don't have the right fw cached, we must free it and request the
correct blobs.

This fixes bandswitch on A/B/G multi-PHY devices.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c