p54: prevent upload of wrong firmwares
commite365f16046b72977ec22364215b57af840f0907e
authorChristian Lamparter <chunkeey@web.de>
Fri, 26 Dec 2008 18:09:34 +0000 (26 19:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:39 +0000 (29 15:59 -0500)
treebbd5f2b2525e3077f9d466715e0e49ade539e6ff
parent6982869d993009c02cefcca98a67b212d0e61c5f
p54: prevent upload of wrong firmwares

This patch will prevent anyone to upload a firmware which was not designed for his device.

There's still a catch:
There is no easy way to detect if a firmware is for PCI or for USB (1st Gen),
because they all share the same LM86 identifier.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54pci.c
drivers/net/wireless/p54/p54usb.c