aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/txrx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/p54/txrx.c')
-rw-r--r--drivers/net/wireless/p54/txrx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/txrx.c b/drivers/net/wireless/p54/txrx.c
index 704685fab177..6fc0b6148c8a 100644
--- a/drivers/net/wireless/p54/txrx.c
+++ b/drivers/net/wireless/p54/txrx.c
@@ -552,6 +552,12 @@ static void p54_rx_trap(struct p54_common *priv, struct sk_buff *skb)
552 break; 552 break;
553 case P54_TRAP_TIMER: 553 case P54_TRAP_TIMER:
554 break; 554 break;
555 case P54_TRAP_FAA_RADIO_OFF:
556 wiphy_rfkill_set_hw_state(priv->hw->wiphy, true);
557 break;
558 case P54_TRAP_FAA_RADIO_ON:
559 wiphy_rfkill_set_hw_state(priv->hw->wiphy, false);
560 break;
555 default: 561 default:
556 printk(KERN_INFO "%s: received event:%x freq:%d\n", 562 printk(KERN_INFO "%s: received event:%x freq:%d\n",
557 wiphy_name(priv->hw->wiphy), event, freq); 563 wiphy_name(priv->hw->wiphy), event, freq);