Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/* flags for options */
#define DEVICE_FLAGS_UNPLUG 0x00000001UL
-/* flags for driver status */
-#define DEVICE_FLAGS_OPENED 0x00010000UL
-
struct vnt_private {
/* mac80211 */
struct ieee80211_hw *hw;
vnt_int_start_interrupt(priv);
- priv->flags |= DEVICE_FLAGS_OPENED;
-
ieee80211_wake_queues(hw);
return 0;
priv->cmd_running = false;
- priv->flags &= ~DEVICE_FLAGS_OPENED;
-
device_free_tx_bufs(priv);
device_free_rx_bufs(priv);
device_free_int_bufs(priv);