]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Add IEEE80211_KEY_FLAG_PAIRWISE
authorIvo van Doorn <ivdoorn@gmail.com>
Thu, 17 Apr 2008 19:11:18 +0000 (21:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2008 19:02:11 +0000 (15:02 -0400)
commitf74a5aa9f8700ca86c893ebd7ea2aa799fd9d9bf
tree5bd5392cddcc6ebdb044faa2c06f3e7d71244148
parentf0192c23c0081ec309a13cd98bfc6617892624e7
mac80211: Add IEEE80211_KEY_FLAG_PAIRWISE

This adds a new flag to the ieee80211_key_conf structure.
This flag will inform the driver the key is pairwise rather then
a shared key.

This is important for drivers who support both types of keys,
and need to be informed which type of key this is. Alternative
would be drivers checking the address argument of set_key(),
but it will be safer when mac80211 is more explicit.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/key.c