Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248998
b: refs/heads/master
c: efa5dc4
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 80ee060 commit 558122d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 871f7105cc406fb963d1b47f0f99608f6b5037df
refs/heads/master: efa5dc420a0f2f3f8dbc6b2d4037b8148b3cdb64
1 change: 0 additions & 1 deletion trunk/drivers/staging/ath6kl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ ifeq ($(CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK),y)
ccflags-y += -DATH6KL_SKIP_ABI_VERSION_CHECK
endif

ccflags-y += -DUSER_KEYS
ccflags-y += -DNO_SYNC_FLUSH
ccflags-y += -DHTC_EP_STAT_PROFILING
ccflags-y += -DWAPI_ENABLE
Expand Down
11 changes: 0 additions & 11 deletions trunk/drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ static void ar6000_cookie_cleanup(struct ar6_softc *ar);
static void ar6000_free_cookie(struct ar6_softc *ar, struct ar_cookie * cookie);
static struct ar_cookie *ar6000_alloc_cookie(struct ar6_softc *ar);

#ifdef USER_KEYS
static int ar6000_reinstall_keys(struct ar6_softc *ar,u8 key_op_ctrl);
#endif

#ifdef CONFIG_AP_VIRTUAL_ADAPTER_SUPPORT
struct net_device *arApNetDev;
Expand Down Expand Up @@ -1926,10 +1924,8 @@ ar6000_stop_endpoint(struct net_device *dev, bool keepprofile, bool getdbglogs)
ar6000_disconnect_event(ar, DISCONNECT_CMD, ar->arBssid, 0, NULL, 0);
}
}
#ifdef USER_KEYS
ar->user_savedkeys_stat = USER_SAVEDKEYS_STAT_INIT;
ar->user_key_ctrl = 0;
#endif
}

AR_DEBUG_PRINTF(ATH_DEBUG_INFO,("%s(): WMI stopped\n", __func__));
Expand Down Expand Up @@ -4347,7 +4343,6 @@ ar6000_connect_event(struct ar6_softc *ar, u16 channel, u8 *bssid,
wireless_send_event(ar->arNetDev, IWEVCUSTOM, &wrqu, buf);
}

#ifdef USER_KEYS
if (ar->user_savedkeys_stat == USER_SAVEDKEYS_STAT_RUN &&
ar->user_saved_keys.keyOk == true)
{
Expand All @@ -4360,7 +4355,6 @@ ar6000_connect_event(struct ar6_softc *ar, u16 channel, u8 *bssid,
}
ar6000_reinstall_keys(ar, key_op_ctrl);
}
#endif /* USER_KEYS */

netif_wake_queue(ar->arNetDev);

Expand Down Expand Up @@ -4581,13 +4575,11 @@ ar6000_disconnect_event(struct ar6_softc *ar, u8 reason, u8 *bssid,
reconnect_flag = 0;
}

#ifdef USER_KEYS
if (reason != CSERV_DISCONNECT)
{
ar->user_savedkeys_stat = USER_SAVEDKEYS_STAT_INIT;
ar->user_key_ctrl = 0;
}
#endif /* USER_KEYS */

netif_stop_queue(ar->arNetDev);
A_MEMZERO(ar->arBssid, sizeof(ar->arBssid));
Expand Down Expand Up @@ -5713,9 +5705,7 @@ void ap_wapi_rekey_event(struct ar6_softc *ar, u8 type, u8 *mac)
}
#endif

#ifdef USER_KEYS
static int

ar6000_reinstall_keys(struct ar6_softc *ar, u8 key_op_ctrl)
{
int status = 0;
Expand Down Expand Up @@ -5760,7 +5750,6 @@ ar6000_reinstall_keys(struct ar6_softc *ar, u8 key_op_ctrl)

return status;
}
#endif /* USER_KEYS */


void
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@
#endif


#ifdef USER_KEYS

#define USER_SAVEDKEYS_STAT_INIT 0
#define USER_SAVEDKEYS_STAT_RUN 1

Expand All @@ -104,7 +102,6 @@ struct USER_SAVEDKEYS {
CRYPTO_TYPE keyType;
bool keyOk;
};
#endif

#define DBG_INFO 0x00000001
#define DBG_ERROR 0x00000002
Expand Down Expand Up @@ -540,11 +537,9 @@ struct ar6_softc {
u32 log_cnt;
u32 dbglog_init_done;
u32 arConnectCtrlFlags;
#ifdef USER_KEYS
s32 user_savedkeys_stat;
u32 user_key_ctrl;
struct USER_SAVEDKEYS user_saved_keys;
#endif
USER_RSSI_THOLD rssi_map[12];
u8 arUserBssFilter;
u16 ap_profile_flag; /* AP mode */
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/ath6kl/os/linux/include/athdrv_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -620,15 +620,13 @@ typedef enum {
*/
#define AR6000_XIOCTL_WMI_SET_TXOP 57

#ifdef USER_KEYS
/*
* arguments:
* UINT32 cmd (AR6000_XIOCTL_USER_SETKEYS)
* UINT32 keyOpCtrl
* uses struct ar6000_user_setkeys_info
*/
#define AR6000_XIOCTL_USER_SETKEYS 58
#endif /* USER_KEYS */

#define AR6000_XIOCTL_WMI_SET_KEEPALIVE 59
/*
Expand Down

0 comments on commit 558122d

Please sign in to comment.