#!/bin/sh
#
#  Set the "iwconfig key"

[ -z "$WIFIROAMD_IWCONFIG_KEY" ] && exit 0

[ "$WIFIROAMD_VERBOSE_LEVEL" -gt 0 ] && \
		logger -t 'wifiroamd_iwconfigkey' "Setting key to $WIFIROAMD_IWCONFIG_KEY"
iwconfig "$WIFIROAMD_DEVICE" key "$WIFIROAMD_IWCONFIG_KEY"
