P2P: Remove Label config method

The P2P specification (3.1.4.3) disallows use of the Label configuration
method between two P2P devices. This was previously enforced at upper
level, but the obsolete code can be removed from wpa_supplicant. This
adds a bit more strict enforcement of the policy, but should not result
in practical differences since no known P2P implementation uses Label
config method.
This commit is contained in:
Jouni Malinen 2011-09-08 16:40:03 +03:00 committed by Jouni Malinen
parent d8a790b922
commit 07fecd3915
7 changed files with 5 additions and 45 deletions

View file

@ -2936,8 +2936,6 @@ static const char * p2p_wps_method_text(enum p2p_wps_method method)
switch (method) {
case WPS_NOT_READY:
return "not-ready";
case WPS_PIN_LABEL:
return "Label";
case WPS_PIN_DISPLAY:
return "Display";
case WPS_PIN_KEYPAD: