Found two more newlines. These are essential as Tobias pointed out
This commit is contained in:
parent
3a9be4831f
commit
24778c657f
@ -603,7 +603,7 @@ index bdc224d..5f1f424 100644
|
|||||||
+ if (sta && test_sta_flag(sta, WLAN_STA_AUTHORIZED)) {
|
+ if (sta && test_sta_flag(sta, WLAN_STA_AUTHORIZED)) {
|
||||||
+ skb->pkt_type = PACKET_OTHERHOST;
|
+ skb->pkt_type = PACKET_OTHERHOST;
|
||||||
+ } else {
|
+ } else {
|
||||||
+ printk(KERN_WARNING "dropping packet (STA not authorized)");
|
+ printk(KERN_WARNING "dropping packet (STA not authorized)\n");
|
||||||
+ goto error_rcu;
|
+ goto error_rcu;
|
||||||
+ }
|
+ }
|
||||||
+ } else {
|
+ } else {
|
||||||
|
@ -609,7 +609,7 @@ Allows for kernel side interception and injection of IEEE 802.11 frames.
|
|||||||
+ if (sta && test_sta_flag(sta, WLAN_STA_AUTHORIZED)) {
|
+ if (sta && test_sta_flag(sta, WLAN_STA_AUTHORIZED)) {
|
||||||
+ skb->pkt_type = PACKET_OTHERHOST;
|
+ skb->pkt_type = PACKET_OTHERHOST;
|
||||||
+ } else {
|
+ } else {
|
||||||
+ printk(KERN_WARNING "dropping packet (STA not authorized)");
|
+ printk(KERN_WARNING "dropping packet (STA not authorized)\n");
|
||||||
+ goto error_rcu;
|
+ goto error_rcu;
|
||||||
+ }
|
+ }
|
||||||
+ } else {
|
+ } else {
|
||||||
|
Loading…
Reference in New Issue
Block a user