mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 18:34:53 +00:00
13 lines
Diff
13 lines
Diff
|
--- a/driver/linux_osl.c
|
||
|
+++ b/driver/linux_osl.c
|
||
|
@@ -723,6 +723,9 @@ osl_readl(volatile uint32 *r)
|
||
|
uint16
|
||
|
osl_readw(volatile uint16 *r)
|
||
|
{
|
||
|
+ uint32 addr = (uintptr)r & 0xffff3fff;
|
||
|
+ if (addr == 0xa8000688) /* ifs_ctl */
|
||
|
+ readl(r);
|
||
|
return (readw(r));
|
||
|
}
|
||
|
|