diff options
Diffstat (limited to '')
-rw-r--r-- | drivers/staging/rt2870/Makefile | 10 | ||||
-rw-r--r-- | drivers/staging/rt2870/common/rtusb_io.c | 11 |
2 files changed, 9 insertions, 12 deletions
diff --git a/drivers/staging/rt2870/Makefile b/drivers/staging/rt2870/Makefile index 523e7e738d00..b499910ed738 100644 --- a/drivers/staging/rt2870/Makefile +++ b/drivers/staging/rt2870/Makefile @@ -2,12 +2,12 @@ obj-$(CONFIG_RT2870) += rt2870sta.o # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -EXTRA_CFLAGS += -DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRT2870 -DRTMP_TIMER_TASK_SUPPORT -EXTRA_CFLAGS += -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DRT30xx -DRT3070 -EXTRA_CFLAGS += -DDBG +ccflags-y := -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT +ccflags-y += -DRTMP_MAC_USB -DRTMP_USB_SUPPORT -DRT2870 -DRTMP_TIMER_TASK_SUPPORT +ccflags-y += -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DRT30xx -DRT3070 +ccflags-y += -DDBG -rt2870sta-objs := \ +rt2870sta-y := \ common/crypt_md5.o \ common/crypt_sha2.o \ common/crypt_hmac.o \ diff --git a/drivers/staging/rt2870/common/rtusb_io.c b/drivers/staging/rt2870/common/rtusb_io.c index 6b9ca24bbee9..7d2f7e05814d 100644 --- a/drivers/staging/rt2870/common/rtusb_io.c +++ b/drivers/staging/rt2870/common/rtusb_io.c @@ -1879,13 +1879,10 @@ void CMDHandler(struct rt_rtmp_adapter *pAd) AsicUpdateRxWCIDTable(pAd, pEntry->Aid, pEntry->Addr); DBGPRINT(RT_DEBUG_TRACE, - ("UpdateRxWCIDTable(): Aid=%d, Addr=%02x:%02x:%02x:%02x:%02x:%02x!\n", - pEntry->Aid, pEntry->Addr[0], - pEntry->Addr[1], - pEntry->Addr[2], - pEntry->Addr[3], - pEntry->Addr[4], - pEntry->Addr[5])); + ("UpdateRxWCIDTable(): Aid=%d, " + "Addr=%pM!\n", + pEntry->Aid, + pEntry->Addr)); } break; |