For the most part my Wireless network works perfectly fine. But about once a day, at random times I get disconnected and the key ring authentication for my wireless pops up. All of the correct information is entered in key ring but when I hit connect, it is unsuccessful at reconnecting to network and the authentication window pops up again. The network is in working order and this is the only computer effected. This is fixed by restarting my computer, but it is a production machine so having to stop what I'm working on and restart gets quite frustrating.
Here is the screen that pops up:

The wireless card is a D-link Xtreme N DWA-552
Here is the output of the log when the issue happens:
Dec 8 17:51:16 Gandhi NetworkManager[951]: <info> (wlan0): supplicant connection state: disconnected -> scanning
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 8 -> 3 (reason 11)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): deactivating device (reason: 11).
Dec 8 17:51:31 Gandhi avahi-daemon[954]: Withdrawing address record for 192.168.1.125 on wlan0.
Dec 8 17:51:31 Gandhi avahi-daemon[954]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.125.
Dec 8 17:51:31 Gandhi avahi-daemon[954]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) starting connection 'Auto James'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 3 -> 4 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): supplicant connection state: scanning -> disconnected
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 >(Device Configure) starting...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0/wireless): access point 'Auto James' has security, but secrets are required.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 5 -> 6 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 6 -> 4 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0/wireless): connection 'Auto James' has security, and secrets exist. No new secrets needed.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'ssid' value 'James'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'scan_ssid' value '1'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'psk' value '<omitted>'
Dec 8 17:51:31 Gandhi NetworkManager[951]: nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
Dec 8 17:51:31 Gandhi NetworkManager[951]: nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
Here is the the output of lspci -nn, pertaining to my wireless adapter:
03:07.0 Network controller [0280]: Atheros Communications Inc. AR5008 Wireless Network Adapter [168c:0023] (rev 01)
And here is the output of sudo lshw -class network:
*-network
description: Wireless interface
product: AR5008 Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: 7
bus info: pci@0000:03:07.0
logical name: wlan0
version: 01
serial: 00:1e:58:3b:18:19
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=2.6.38-13-generic firmware=N/A ip=192.168.1.125 latency=168 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:21 memory:fdee0000-fdeeffff
rfkill list:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Please Help!
UPDATE: VLC seems to make this problem more frequent. It was occurring only once a day under normal conditions, but when I was running VLC yesterday it crashed several times in a much shorter period. Not sure if this is related, but it is pretty strange...