mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
When the original mac addresses are not valid assign the first one to the internal wifi core, this matches the manufacture mac address in most cases. In addition refresh the patches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41545 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
384 B
Diff
12 lines
384 B
Diff
--- a/driver/wl_linux.c
|
|
+++ b/driver/wl_linux.c
|
|
@@ -695,7 +695,7 @@ wl_attach(uint16 vendor, uint16 device,
|
|
if (wl->bustype != JTAG_BUS)
|
|
#endif /* BCMJTAG */
|
|
{
|
|
- if (request_irq(irq, wl_isr, IRQF_SHARED|IRQF_SAMPLE_RANDOM, dev->name, wl)) {
|
|
+ if (request_irq(irq, wl_isr, IRQF_SHARED, dev->name, wl)) {
|
|
WL_ERROR(("wl%d: request_irq() failed\n", unit));
|
|
goto fail;
|
|
}
|