]> err.no Git - linux-2.6/blobdiff - net/rfkill/rfkill.c
[MAC80211]: remove set_key_idx callback
[linux-2.6] / net / rfkill / rfkill.c
index db3395bfbcfa304e5702dcd91c9d503fba01da84..03ed7fd8afe0e8cf4923920f40d234cd3e6149e9 100644 (file)
@@ -106,8 +106,8 @@ static ssize_t rfkill_type_show(struct device *dev,
        case RFKILL_TYPE_BLUETOOTH:
                type = "bluetooth";
                break;
-       case RFKILL_TYPE_IRDA:
-               type = "irda";
+       case RFKILL_TYPE_UWB:
+               type = "ultrawideband";
                break;
        default:
                BUG();
@@ -281,7 +281,7 @@ static void rfkill_remove_switch(struct rfkill *rfkill)
 /**
  * rfkill_allocate - allocate memory for rfkill structure.
  * @parent: device that has rf switch on it
- * @type: type of the switch (wlan, bluetooth, irda)
+ * @type: type of the switch (RFKILL_TYPE_*)
  *
  * This function should be called by the network driver when it needs
  * rfkill structure. Once the structure is allocated the driver shoud