From a0ad27765a5f4c9dc90fabe6a4b04a8656d7fae3 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sat, 15 Feb 2014 21:56:20 +0000 Subject: staging: vt6656: Replace typedef enum _CARD_OP_MODE Replace typedef enum _CARD_OP_MODE eOPMode with op_mode enum nl80211_iftype enum changes OP_MODE_INFRASTRUCTURE -> NL80211_IFTYPE_STATION OP_MODE_AP -> NL80211_IFTYPE_AP OP_MODE_DEF -> NL80211_IFTYPE_UNSPECIFIED OP_MODE_ADHOC -> NL80211_IFTYPE_ADHOC Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/int.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/staging/vt6656/int.c') diff --git a/drivers/staging/vt6656/int.c b/drivers/staging/vt6656/int.c index e0e93869a681..d12036a9858a 100644 --- a/drivers/staging/vt6656/int.c +++ b/drivers/staging/vt6656/int.c @@ -131,7 +131,7 @@ void INTnsProcessData(struct vnt_private *pDevice) } if (pINTData->byISR0 != 0) { if (pINTData->byISR0 & ISR_BNTX) { - if (pDevice->eOPMode == OP_MODE_AP) { + if (pDevice->op_mode == NL80211_IFTYPE_AP) { if (pMgmt->byDTIMCount > 0) { pMgmt->byDTIMCount--; pMgmt->sNodeDBTable[0].bRxPSPoll = @@ -149,7 +149,7 @@ void INTnsProcessData(struct vnt_private *pDevice) bScheduleCommand((void *) pDevice, WLAN_CMD_BECON_SEND, NULL); - } /* if (pDevice->eOPMode == OP_MODE_AP) */ + } pDevice->bBeaconSent = true; } else { pDevice->bBeaconSent = false; -- cgit v1.2.3