]> err.no Git - linux-2.6/commit
[MAC80211]: remove HW_KEY_IDX_INVALID
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 14 Sep 2007 15:10:25 +0000 (11:10 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:29 +0000 (16:49 -0700)
commit6a7664d451e7014b1a6828e50ccb3308d0b84816
tree01c319d33d8c5b61d1946e6c76e27ec9dd44329b
parent7ac1bd6aecc92cfe6ec11891819dd4c26f2f7879
[MAC80211]: remove HW_KEY_IDX_INVALID

This patch makes the mac80211/driver interface rely only on the
IEEE80211_TXCTL_DO_NOT_ENCRYPT flag to signal to the driver whether
a frame should be encrypted or not, since mac80211 internally no
longer relies on HW_KEY_IDX_INVALID either this removes it, changes
the key index to be a u8 in all places and makes the full range of
the value available to drivers.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mac80211.h
net/mac80211/key.c
net/mac80211/tx.c